diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-04 09:05:12 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-04 09:05:12 -0600 |
commit | 687042ce085bb2b769288fe478981144aca5e93e (patch) | |
tree | 00559832208789468aa1efb746082c5ffd62b821 /test/unistd/Makefile.in | |
parent | db36600c2956f7b7ea6905f09fc581108c2e3eac (diff) |
add -fPIC to some tests.
This is required to avoid a assertion error in binutils 2.24
for m68k.
Diffstat (limited to 'test/unistd/Makefile.in')
-rw-r--r-- | test/unistd/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
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 |