diff options
author | Romain Naour <romain.naour@gmail.com> | 2017-05-09 22:59:27 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-10 23:35:54 +0200 |
commit | bb98e425f8edc27c3d39d49cfec94a514b03b988 (patch) | |
tree | e25db150c10abe2113514f22051c558211a3be26 | |
parent | 027e0765b5d0f1f0773a987a6cf22b7071939929 (diff) | |
download | buildroot-bb98e425f8edc27c3d39d49cfec94a514b03b988.tar.gz buildroot-bb98e425f8edc27c3d39d49cfec94a514b03b988.zip |
package/ltp-testsuite: remove ldd command test with static only build
ldd command build system try to build a shared library unconditionally:
arc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -matomic -Os -static \
-I[...]/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe \
-Wall -W -Wold-style-definition -shared -o lddfile1.obj.so lddfile1.o
Fixes:
http://autobuild.buildroot.net/results/2ec/2eccf9f517ab15d8d459b06195423fdfe3fba9fa
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/ltp-testsuite/ltp-testsuite.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 7f26bd2a59..a4546dff82 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -68,4 +68,12 @@ endef LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_UNSUPPORTED endif +# ldd command build system tries to build a shared library unconditionally. +ifeq ($(BR2_STATIC_LIBS),y) +define LTP_TESTSUITE_REMOVE_LDD + rm -rf $(@D)/testcases/commands/ldd +endef +LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_LDD +endif + $(eval $(autotools-package)) |