mirror of git://gcc.gnu.org/git/gcc.git
configure.ac (CFLAGS_FOR_BUILD, [...]): Default them to host flags only for $host = $build.
* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags only for $host = $build. Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS. Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS. * configure: Regenerate. From-SVN: r129122
This commit is contained in:
parent
dff6abb282
commit
f019adc116
|
|
@ -1,3 +1,11 @@
|
||||||
|
2007-10-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD,
|
||||||
|
LDFLAGS_FOR_BUILD): Default them to host flags only for $host = $build.
|
||||||
|
Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS. Set default
|
||||||
|
LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2006-10-04 Seongbae Park <seongbae.park@gmail.com>
|
2006-10-04 Seongbae Park <seongbae.park@gmail.com>
|
||||||
|
|
||||||
* MAINTAINERS (Register allocation reviewer): Add myself.
|
* MAINTAINERS (Register allocation reviewer): Add myself.
|
||||||
|
|
|
||||||
|
|
@ -5876,9 +5876,11 @@ esac
|
||||||
|
|
||||||
# Allow the user to override the flags for
|
# Allow the user to override the flags for
|
||||||
# our build compiler if desired.
|
# our build compiler if desired.
|
||||||
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
if test x"${build}" = x"${host}" ; then
|
||||||
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CFLAGS}}
|
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
||||||
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${CFLAGS}}
|
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
|
||||||
|
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
|
||||||
|
fi
|
||||||
|
|
||||||
# On Canadian crosses, we'll be searching the right directories for
|
# On Canadian crosses, we'll be searching the right directories for
|
||||||
# the previously-installed cross compiler, so don't bother to add
|
# the previously-installed cross compiler, so don't bother to add
|
||||||
|
|
|
||||||
|
|
@ -2387,9 +2387,11 @@ esac
|
||||||
|
|
||||||
# Allow the user to override the flags for
|
# Allow the user to override the flags for
|
||||||
# our build compiler if desired.
|
# our build compiler if desired.
|
||||||
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
if test x"${build}" = x"${host}" ; then
|
||||||
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CFLAGS}}
|
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
||||||
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${CFLAGS}}
|
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
|
||||||
|
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
|
||||||
|
fi
|
||||||
|
|
||||||
# On Canadian crosses, we'll be searching the right directories for
|
# On Canadian crosses, we'll be searching the right directories for
|
||||||
# the previously-installed cross compiler, so don't bother to add
|
# the previously-installed cross compiler, so don't bother to add
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue