X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=config%2Fmh-cygwin;h=1f746bdea84dc10aab9e4b780405dac3e0a707ee;hb=f67c0c9171508672167b6868c67211571421a1c6;hp=7f23a7da34955da344f3dc46f8b0b71130e1703c;hpb=afe47e32d5665067ce2f347766782dfa4ace254c;p=deliverable%2Fbinutils-gdb.git diff --git a/config/mh-cygwin b/config/mh-cygwin index 7f23a7da34..1f746bdea8 100644 --- a/config/mh-cygwin +++ b/config/mh-cygwin @@ -1,15 +1,4 @@ -# 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= -EXTRA_TARGET_HOST_ALL_MODULES=all-libtermcap -EXTRA_TARGET_HOST_INSTALL_MODULES=install-libtermcap - -all-gdb: all-libtermcap - -install-gdb: install-libtermcap +# Increase stack limit to a figure based on the Linux default, with 4MB added +# as GCC turns out to need that much more to pass all the limits-* tests. +LDFLAGS += -Wl,--stack,12582912 +BOOT_LDFLAGS += -Wl,--stack,12582912