summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/i386/x-mingw32
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/i386/x-mingw32')
-rw-r--r--contrib/gcc/config/i386/x-mingw329
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/x-mingw32 b/contrib/gcc/config/i386/x-mingw32
index 04593aa..7ae6152 100644
--- a/contrib/gcc/config/i386/x-mingw32
+++ b/contrib/gcc/config/i386/x-mingw32
@@ -2,3 +2,12 @@
# Make local_includedir relative to EXEC_PREFIX
#
local_includedir=$(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include
+
+# On MinGW, we use "%IA64d" to print 64-bit integers, and the format-checking
+# code does not handle that, so we have to disable checking here.
+WERROR_FLAGS += -Wno-format
+
+host-mingw32.o : $(srcdir)/config/i386/host-mingw32.c $(CONFIG_H) $(SYSTEM_H) \
+ coretypes.h hosthooks.h hosthooks-def.h toplev.h diagnostic.h $(HOOKS_H)
+ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/i386/host-mingw32.c
OpenPOWER on IntegriCloud