f8c33439c6
PR tree-optimization/36218 * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD. * Makefile.tpl (EXTRA_BUILD_FLAGS): Define. (all prefix="build-"): Pass them to build-system sub-makes. * Makefile.in: Regenerate. config: * config/mh-mingw (LDFLAGS): Define. gcc: * configure.ac: Use LDFLAGS="${LDFLAGS_FOR_BUILD}" when running configure for the build system. (BUILD_LDFLAGS): Define. * configure: Regenerate. * Makefile.in (BUILD_LDFLAGS): Define to @BUILD_LDFLAGS@. From-SVN: r136563
7 lines
256 B
Plaintext
7 lines
256 B
Plaintext
# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
|
|
# Vista (see PR33281 for details).
|
|
BOOT_CFLAGS += -D__USE_MINGW_ACCESS
|
|
CFLAGS += -D__USE_MINGW_ACCESS
|
|
# Increase stack limit to same as Linux default.
|
|
LDFLAGS = -Wl,--stack,8388608
|