Skip to content
Snippets Groups Projects
Commit 66b7b559 authored by neroden's avatar neroden
Browse files

* 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
parent 5c4b5f43
No related merge requests found
2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org>
* acinclude.m4: De-precious CC and CXX so that the right flags
are passed down to multilibs.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2004-02-22 Zack Weinberg <zack@codesourcery.com>
Nathanael Nerode <neroden@twcny.rr.com>
Alexandre Oliva <aoliva@redhat.com>
......
......@@ -20,8 +20,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)
......
......@@ -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)
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment