From 3dc45e6498755f5b7afcbdf15ae73f427dfedfab Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Wed, 10 Jun 2015 10:13:43 -0500
Subject: disable silly test for mips/sparc

---
 test/silly/Makefile.in | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'test/silly')

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
-- 
cgit v1.2.3