diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-25 21:26:22 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-25 21:26:22 +0000 |
commit | 66b7b559390ed14b18a8b2df021717f45b1df6c2 (patch) | |
tree | c638aa5001d7670bd06b90f9268b6990f8ee3e80 /boehm-gc/aclocal.m4 | |
parent | 5c4b5f4372d9862a6ceaf20fb999a780b65f6630 (diff) | |
download | gcc-66b7b559390ed14b18a8b2df021717f45b1df6c2.tar.gz |
* acinclude.m4: De-precious CC and CXX so that the right flags
are passed down to multilibs.
* aclocal.m4: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/aclocal.m4')
-rw-r--r-- | boehm-gc/aclocal.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boehm-gc/aclocal.m4 b/boehm-gc/aclocal.m4 index ce701ab862f..8c5eed0386f 100644 --- a/boehm-gc/aclocal.m4 +++ b/boehm-gc/aclocal.m4 @@ -32,8 +32,18 @@ AM_INIT_AUTOMAKE(gc, 6.1a1, no-define) sinclude(../config/no-executables.m4) GCC_NO_EXECUTABLES +# Yak. We must force CC and CXX to /not/ be precious variables; otherwise +# the wrong, non-multilib-adjusted value will be used in multilibs. +# As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves. + +m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) +m4_define([_AC_ARG_VAR_PRECIOUS],[]) AC_PROG_CC AC_PROG_CXX +m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) + +AC_SUBST(CFLAGS) +AC_SUBST(CXXFLAGS) AC_CHECK_TOOL(AS, as) AC_CHECK_TOOL(AR, ar) |