summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/mh-interix
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/mh-interix')
-rw-r--r--contrib/gcc/config/mh-interix14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/gcc/config/mh-interix b/contrib/gcc/config/mh-interix
new file mode 100644
index 0000000..19b8ecf
--- /dev/null
+++ b/contrib/gcc/config/mh-interix
@@ -0,0 +1,14 @@
+# 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
+
+LIBGCC2_DEBUG_CFLAGS=
OpenPOWER on IntegriCloud