|
@@ -4,9 +4,17 @@
|
|
RET_hello := 42
|
|
RET_hello := 42
|
|
RET_tiny := 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) \
|
|
atomic_headers := -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH) \
|
|
-I$(top_srcdir)libc/sysdeps/linux \
|
|
-I$(top_srcdir)libc/sysdeps/linux \
|
|
-I$(top_builddir)include
|
|
-I$(top_builddir)include
|
|
|
|
|
|
-CFLAGS_tst-atomic = $(atomic_headers)
|
|
+CFLAGS_tst-atomic = $(atomic_headers) -fPIC
|
|
-CFLAGS_tst-atomic-long = $(atomic_headers)
|
|
+CFLAGS_tst-atomic-long = $(atomic_headers) -fPIC
|