diff options
| author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-17 22:36:53 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2017-03-17 16:23:05 -0400 |
| commit | 6df82e61d64dd8a9f295e2781a14c58bfc817a15 (patch) | |
| tree | e21239d192f6dbba60667fe7a725d3898c62e798 | |
| parent | 5542938e56dee4a4f73f6a727b189ebca347e274 (diff) | |
| download | meta-ti-6df82e61d64dd8a9f295e2781a14c58bfc817a15.tar.gz | |
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>
| -rw-r--r-- | recipes-kernel/kselftests/kselftests_4.9.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-kernel/kselftests/kselftests_4.9.bb b/recipes-kernel/kselftests/kselftests_4.9.bb index dd94a65b..3cd12ea6 100644 --- a/recipes-kernel/kselftests/kselftests_4.9.bb +++ b/recipes-kernel/kselftests/kselftests_4.9.bb | |||
| @@ -59,6 +59,7 @@ do_configure () { | |||
| 59 | sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile | 59 | sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile |
| 60 | sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile | 60 | sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile |
| 61 | sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile | 61 | sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile |
| 62 | sed "s|^LDFLAGS += -lpthread|LDLIBS += -lpthread|g" -i ${S}/tools/testing/selftests/seccomp/Makefile | ||
| 62 | sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile | 63 | sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile |
| 63 | sed "s|BINARIES|TEST_PROGS|g" -i ${S}/tools/testing/selftests/sigaltstack/Makefile | 64 | sed "s|BINARIES|TEST_PROGS|g" -i ${S}/tools/testing/selftests/sigaltstack/Makefile |
| 64 | } | 65 | } |
