summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/silly/Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/silly/Makefile.in b/test/silly/Makefile.in
index 8e0e6d120..4f35368bf 100644
--- a/test/silly/Makefile.in
+++ b/test/silly/Makefile.in
@@ -4,9 +4,17 @@
RET_hello := 42
RET_tiny := 42
+ifeq ($(TARGET_ARCH),mips)
+TESTS_DISABLED += tst-atomic tst-atomic-long
+endif
+
+ifeq ($(TARGET_ARCH),sparc)
+TESTS_DISABLED += tst-atomic tst-atomic-long
+endif
+
atomic_headers := -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH) \
-I$(top_srcdir)libc/sysdeps/linux \
-I$(top_builddir)include
-CFLAGS_tst-atomic = $(atomic_headers)
-CFLAGS_tst-atomic-long = $(atomic_headers)
+CFLAGS_tst-atomic = $(atomic_headers) -fPIC
+CFLAGS_tst-atomic-long = $(atomic_headers) -fPIC