RET_assert := 134
WRAPPER_assert := trap ":" ABRT ;
+CFLAGS_assert := -fPIC
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
TESTS := ctype
+CFLAGS_ctype = -fPIC
else
LDFLAGS_tst-res_glibc := -lresolv # assume it's glibc or somebody with that lib
endif
+
+CFLAGS_bug-if1 = -fPIC
+CFLAGS_tst-sock-nonblock = -fPIC
DODIFF_rint := 1
-EXTRA_CFLAGS := -D__USE_GNU -fno-builtin
+EXTRA_CFLAGS := -D__USE_GNU -fno-builtin -fPIC
ifneq ($(UCLIBC_HAS_OBSTACK),y)
TESTS_DISABLED += tst-obstack
endif
+
+CFLAGS_tst-mallocfork = -fPIC
MNTENTS = $(shell mount | while read dev on mp rest; do echo $$mp; done)
OPTS_tst-statfs := $(MNTENTS)
OPTS_tst-statvfs := $(MNTENTS)
+
+CFLAGS_bug-glob2 = -fPIC
+CFLAGS_opendir-tst1 = -fPIC
+CFLAGS_tst-inotify = -fPIC
+CFLAGS_tst-utmp = -fPIC
--- /dev/null
+CFLAGS_tst-regex2 = -fPIC
--- /dev/null
+CFLAGS_bug269-setjmp = -fPIC
ifeq ($(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL),)
TESTS_DISABLED := tst-sigsimple
endif
+
+CFLAGS_tst-signalfd = -fPIC
+CFLAGS_tst-sigset = -fPIC
+CFLAGS_tst-sigsimple = -fPIC
ifeq ($(UCLIBC_HAS_PTY),)
TESTS_DISABLED += ptytest
endif
+
+CFLAGS_test-canon = -fPIC
+CFLAGS_test-canon2 = -fPIC
+CFLAGS_testatexit = -fPIC
endif
CFLAGS_tst-strptime2 := -std=c99
+CFLAGS_tst-ctime = -fPIC
+CFLAGS_tst-futimens1 = -fPIC
+CFLAGS_tst-timerfd = -fPIC
+
DODIFF_futimens1 := 1
DODIFF_tst_wcsftime := 1
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
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