path: root/.gitignore
diff options
authorMichael Ellerman <>2020-02-20 22:37:48 +1100
committerShuah Khan <>2020-02-20 08:57:12 -0700
commitef89d0545132d685f73da6f58b7e7fe002536f91 (patch)
tree91d710cac7e3841c1db16ec7ec7ccb367a7678f7 /.gitignore
parentb9167c8078c3527de6da241c8a1a75a9224ed90a (diff)
selftests/rseq: Fix out-of-tree compilation
Currently if you build with O=... the rseq tests don't build: $ make O=$PWD/output -C tools/testing/selftests/ TARGETS=rseq make: Entering directory '/linux/tools/testing/selftests' ... make[1]: Entering directory '/linux/tools/testing/selftests/rseq' gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L./ -Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -o /linux/output/rseq/ gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L./ -Wl,-rpath=./ basic_test.c -lpthread -lrseq -o /linux/output/rseq/basic_test /usr/bin/ld: cannot find -lrseq collect2: error: ld returned 1 exit status This is because the library search path points to the source directory, not the output. We can fix it by changing the library search path to $(OUTPUT). Signed-off-by: Michael Ellerman <> Signed-off-by: Shuah Khan <>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions