From: Andreas Schwab Date: Thu, 7 Jul 2005 15:38:42 +0000 (+0000) Subject: * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2edd3b5c7defda7924d0163210979010b4441e3;p=binutils-gdb.git * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD. * Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. * Makefile.in: Regenerated. --- diff --git a/ChangeLog b/ChangeLog index 5e9c0770796..73f8cbfdeac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-07 Andreas Schwab + + * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD. + * Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. + * Makefile.in: Regenerated. + 2005-07-07 Kazu Hirata * configure.in: Add --enable-libssp and --disable-libssp. diff --git a/Makefile.def b/Makefile.def index bba06309ef8..58c1bd011b0 100644 --- a/Makefile.def +++ b/Makefile.def @@ -186,6 +186,7 @@ flags_to_pass = { flag= target_alias ; }; // Build tools flags_to_pass = { flag= BISON ; }; flags_to_pass = { flag= CC_FOR_BUILD ; }; +flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; flags_to_pass = { flag= CXX_FOR_BUILD ; }; flags_to_pass = { flag= EXPECT ; }; flags_to_pass = { flag= FLEX ; }; diff --git a/Makefile.in b/Makefile.in index 3748f321e2e..335fecc9399 100644 --- a/Makefile.in +++ b/Makefile.in @@ -538,6 +538,7 @@ BASE_FLAGS_TO_PASS = \ "target_alias=$(target_alias)" \ "BISON=$(BISON)" \ "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ + "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ "EXPECT=$(EXPECT)" \ "FLEX=$(FLEX)" \ @@ -645,7 +646,6 @@ EXTRA_GCC_FLAGS = \ 'BUILD_PREFIX=$(BUILD_PREFIX)' \ 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \ "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ - "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ diff --git a/Makefile.tpl b/Makefile.tpl index de6ee68be5c..73d0dcc0489 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -586,7 +586,6 @@ EXTRA_GCC_FLAGS = \ 'BUILD_PREFIX=$(BUILD_PREFIX)' \ 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \ "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ - "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \