summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/mh-mingw32
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/mh-mingw32')
-rw-r--r--contrib/gcc/config/mh-mingw3212
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/gcc/config/mh-mingw32 b/contrib/gcc/config/mh-mingw32
new file mode 100644
index 0000000..8c4839d
--- /dev/null
+++ b/contrib/gcc/config/mh-mingw32
@@ -0,0 +1,12 @@
+# We don't want debugging info in Win32-hosted toolchains.
+# Accomplish this by overriding CFLAGS.
+CFLAGS=-O2
+CXXFLAGS=-O2
+
+# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be
+# built without debugging information
+
+LIBGCC2_DEBUG_CFLAGS=
+
+# custom installation rules for mingw32 (append .exe to binaries, etc.)
+# INSTALL_DOSREL=install-dosrel
OpenPOWER on IntegriCloud