|
@@ -626,8 +626,13 @@ ifdef LIBBABELTRACE
|
|
endif
|
|
endif
|
|
|
|
|
|
ifndef NO_AUXTRACE
|
|
ifndef NO_AUXTRACE
|
|
- $(call detected,CONFIG_AUXTRACE)
|
|
|
|
- CFLAGS += -DHAVE_AUXTRACE_SUPPORT
|
|
|
|
|
|
+ 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
|
|
|
|
+ $(call detected,CONFIG_AUXTRACE)
|
|
|
|
+ CFLAGS += -DHAVE_AUXTRACE_SUPPORT
|
|
|
|
+ endif
|
|
endif
|
|
endif
|
|
|
|
|
|
# Among the variables below, these:
|
|
# Among the variables below, these:
|