summaryrefslogtreecommitdiff
path: root/test/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'test/unistd')
-rw-r--r--test/unistd/Makefile.in9
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