aboutsummaryrefslogtreecommitdiff
path: root/config/mh-cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'config/mh-cygwin')
-rw-r--r--config/mh-cygwin9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/mh-cygwin b/config/mh-cygwin
new file mode 100644
index 0000000..29f1656
--- /dev/null
+++ b/config/mh-cygwin
@@ -0,0 +1,9 @@
+# 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=