about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mips/mips64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/mips64/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/Makefile b/sysdeps/unix/sysv/linux/mips/mips64/Makefile
index 0a37c5b9b4..b4fb190bba 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/Makefile
+++ b/sysdeps/unix/sysv/linux/mips/mips64/Makefile
@@ -7,3 +7,15 @@ ifeq ($(subdir),nptl)
 CFLAGS-recv.c += -fexceptions
 CFLAGS-send.c += -fexceptions
 endif
+
+ifeq ($(subdir),signal)
+# sigaction.c defines static functions in asms and refers to them from
+# C code, resulting in "'restore_rt' used but never defined" (which
+# has no corresponding warning option to allow it to be disabled with
+# diagnostic pragmas).
+CFLAGS-sigaction.c += -Wno-error
+endif
+
+ifeq ($(subdir),nptl)
+CFLAGS-sigaction.c += -Wno-error
+endif