diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-08-07 10:55:56 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-08-07 10:56:50 +0200 |
commit | e43875916a6810b4ff8c65e27840f9da15b86c7a (patch) | |
tree | d9f029c1fc6e42b165287b59a734cc10b8a110e7 | |
parent | 10c07b9ac19805fcdfcdbd565f25761146fd7e99 (diff) | |
download | buildroot-e43875916a6810b4ff8c65e27840f9da15b86c7a.tar.gz buildroot-e43875916a6810b4ff8c65e27840f9da15b86c7a.zip |
audit: mark as not available for static builds
audit uses -fPIE/-pie, which is not compatible with static only builds
with uClibc. Since using audit in a statically linked environment is
probably not a very common use case, let's simply mark it as
non-available in such situations.
Fixes:
http://autobuild.buildroot.net/results/549492270f3f43747a96a8326aef1d7ae1d3b213/
Thanks to Waldemar for explaining the source of the problem.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/audit/Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/audit/Config.in b/package/audit/Config.in index a973e20854..8ac1b4f252 100644 --- a/package/audit/Config.in +++ b/package/audit/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_AUDIT bool "audit" depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS help The audit package contains the user space utilities for storing and searching the audit records generated by @@ -17,6 +18,6 @@ config BR2_PACKAGE_AUDIT http://people.redhat.com/sgrubb/audit/ -comment "audit needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "audit needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS |