aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/libgcc/config/t-softfp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/libgcc/config/t-softfp')
-rw-r--r--gcc-4.4.3/libgcc/config/t-softfp14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc-4.4.3/libgcc/config/t-softfp b/gcc-4.4.3/libgcc/config/t-softfp
new file mode 100644
index 000000000..5d67da017
--- /dev/null
+++ b/gcc-4.4.3/libgcc/config/t-softfp
@@ -0,0 +1,14 @@
+# Disable missing prototype and type limit warnings. The prototypes
+# for the functions in the soft-fp files have not been brought across
+# from glibc.
+
+# cfr. srcdirify in gcc/Makefile.in
+soft-fp-files = $(filter $(gcc_srcdir)/config/soft-fp/%, $(LIB2ADD)) \
+ $(filter $(gcc_objdir)/config/soft-fp/%, $(LIB2ADD))
+
+soft-fp-objects-base = $(basename $(notdir $(soft-fp-files)))
+
+soft-fp-objects = $(addsuffix $(objext), $(soft-fp-objects-base)) \
+ $(addsuffix _s$(objext), $(soft-fp-objects-base))
+
+$(soft-fp-objects) : INTERNAL_CFLAGS += -Wno-missing-prototypes -Wno-type-limits