]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/config/i386/x-mingw32
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / config / i386 / x-mingw32
diff --git a/gcc/config/i386/x-mingw32 b/gcc/config/i386/x-mingw32
new file mode 100644 (file)
index 0000000..0af4f5c
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# 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