diff options
Diffstat (limited to 'gnu/usr.bin/binutils/config/mh-interix')
-rw-r--r-- | gnu/usr.bin/binutils/config/mh-interix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/config/mh-interix b/gnu/usr.bin/binutils/config/mh-interix new file mode 100644 index 00000000000..19b8ecfd339 --- /dev/null +++ b/gnu/usr.bin/binutils/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= |