|
@@ -746,10 +746,13 @@ ifdef LIBBABELTRACE
|
|
|
endif
|
|
|
|
|
|
ifndef NO_AUXTRACE
|
|
|
- ifeq ($(feature-get_cpuid), 0)
|
|
|
- msg := $(warning Your gcc lacks the __get_cpuid() builtin, disables support for auxtrace/Intel PT, please install a newer gcc);
|
|
|
- NO_AUXTRACE := 1
|
|
|
- else
|
|
|
+ ifeq ($(ARCH),x86)
|
|
|
+ ifeq ($(feature-get_cpuid), 0)
|
|
|
+ msg := $(warning Your gcc lacks the __get_cpuid() builtin, disables support for auxtrace/Intel PT, please install a newer gcc);
|
|
|
+ NO_AUXTRACE := 1
|
|
|
+ endif
|
|
|
+ endif
|
|
|
+ ifndef NO_AUXTRACE
|
|
|
$(call detected,CONFIG_AUXTRACE)
|
|
|
CFLAGS += -DHAVE_AUXTRACE_SUPPORT
|
|
|
endif
|