summaryrefslogtreecommitdiff
path: root/config/mh-cygwin32
diff options
context:
space:
mode:
Diffstat (limited to 'config/mh-cygwin32')
-rw-r--r--config/mh-cygwin3216
1 files changed, 16 insertions, 0 deletions
diff --git a/config/mh-cygwin32 b/config/mh-cygwin32
new file mode 100644
index 00000000000..3f6c1c6cbeb
--- /dev/null
+++ b/config/mh-cygwin32
@@ -0,0 +1,16 @@
+# 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
+# build without debugging information
+
+LIBGCC2_DEBUG_CFLAGS=
+
+# We set MAKEINFOFLAGS to not split .info files, because the resulting
+# file names don't work on DOS.
+MAKEINFOFLAGS=--no-split
+
+# custom installation rules for cygwin32 (append .exe to binaries, etc.)
+INSTALL_DOSREL=install-dosrel