Increase stack limit on Windows hosts
Paolo Bonzini
bonzini@gnu.org
Sun Jun 8 14:08:00 GMT 2008
> 2008-06-08 Joseph Myers <joseph@codesourcery.com>
>
> PR tree-optimization/36218
> * Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
> (all prefix="build-"): Pass them to build-system sub-makes.
> * Makefile.in: Regenerate.
These are okay.
However, instead of this...
> 2008-06-08 Joseph Myers <joseph@codesourcery.com>
>
> PR tree-optimization/36218
> * configure.ac: Use empty LDFLAGS when running configure for the
> build system.
> * configure: Regenerate.
> * Makefile.in (BUILD_LDFLAGS): Do not define to $(LDFLAGS) unless
> host == build.
... can you add
flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
to Makefile.def and use it in gcc/configure.ac? This would fix the case
in which a generator program used lots of stack.
Using an ifeq in the Makefile.in is fine but, if you're adding
LDFLAGS_FOR_BUILD, it's probably easier to add a @BUILD_LDFLAGS@
autoconf substitution at the same time, that is set in the same place as
CFLAGS_FOR_BUILD.
Paolo
More information about the Gcc-patches
mailing list