|
@@ -531,14 +531,18 @@ ifndef NO_LIBUNWIND
|
|
|
EXTLIBS += $(EXTLIBS_LIBUNWIND)
|
|
|
endif
|
|
|
|
|
|
-ifndef NO_LIBAUDIT
|
|
|
- ifneq ($(feature-libaudit), 1)
|
|
|
- msg := $(warning No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev);
|
|
|
- NO_LIBAUDIT := 1
|
|
|
- else
|
|
|
- CFLAGS += -DHAVE_LIBAUDIT_SUPPORT
|
|
|
- EXTLIBS += -laudit
|
|
|
- $(call detected,CONFIG_AUDIT)
|
|
|
+ifeq ($(NO_SYSCALL_TABLE),0)
|
|
|
+ $(call detected,CONFIG_TRACE)
|
|
|
+else
|
|
|
+ ifndef NO_LIBAUDIT
|
|
|
+ ifneq ($(feature-libaudit), 1)
|
|
|
+ msg := $(warning No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev);
|
|
|
+ NO_LIBAUDIT := 1
|
|
|
+ else
|
|
|
+ CFLAGS += -DHAVE_LIBAUDIT_SUPPORT
|
|
|
+ EXTLIBS += -laudit
|
|
|
+ $(call detected,CONFIG_TRACE)
|
|
|
+ endif
|
|
|
endif
|
|
|
endif
|
|
|
|