From 687042ce085bb2b769288fe478981144aca5e93e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 4 Jan 2015 09:05:12 -0600 Subject: add -fPIC to some tests. This is required to avoid a assertion error in binutils 2.24 for m68k. --- test/unistd/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/unistd') diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in index 6f8a274df..da59a3689 100644 --- a/test/unistd/Makefile.in +++ b/test/unistd/Makefile.in @@ -4,7 +4,7 @@ TESTS_DISABLED := # If LFS is not set, get rid of all *64 tests up front ifeq ($(UCLIBC_HAS_LFS),) -TESTS_DISABLED += tst-preadwrite64 tst-fallocate64 +TESTS_DISABLED += tst-preadwrite64 endif # If we don't have LINUX_SPECIFIC, then get rid of tst-fallocate @@ -32,7 +32,12 @@ OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none -- endif # for embedded systems 4 GB disk space is not available -TESTS_DISABLED += tst-posix_fallocate64 +TESTS_DISABLED += tst-posix_fallocate64 tst-fallocate64 + +CFLAGS_tst-fallocate = -fPIC +CFLAGS_tst-posix_fallocate = -fPIC +CFLAGS_tst-preadwrite = -fPIC +CFLAGS_tst-preadwrite64 = -fPIC # getconf.c lives in utils/ # Testsuite cannot currently be built with O= anyway, so hardcode path here -- cgit v1.2.3