Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/mh-interix')
-rw-r--r--config/mh-interix7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/mh-interix b/config/mh-interix
index 67dff5c44..19b8ecfd3 100644
--- a/config/mh-interix
+++ b/config/mh-interix
@@ -1,5 +1,12 @@
# The shell may not be in /bin.
SHELL = sh
+RANLIB = true
+
+# We don't want debugging info in Interix-hosted toolchains.
+# Accomplish this by overriding CFLAGS. This is also a workaround
+# for LD crash when building shared libstdc++.
+CFLAGS=-O2
+CXXFLAGS=-O2
# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be
# built without debugging information