1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

kselftests: fix seccomp test build failure

Use the same fixup as used for timers test:
use LDLIBS to properly link against libpthread.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Fathi Boudra
2017-03-17 22:36:53 +00:00
committed by Denys Dmytriyenko
parent 5542938e56
commit 6df82e61d6

View File

@@ -59,6 +59,7 @@ do_configure () {
sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile
sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile
sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile
sed "s|^LDFLAGS += -lpthread|LDLIBS += -lpthread|g" -i ${S}/tools/testing/selftests/seccomp/Makefile
sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile
sed "s|BINARIES|TEST_PROGS|g" -i ${S}/tools/testing/selftests/sigaltstack/Makefile
}