aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-07-07 15:38:42 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-07-07 15:38:42 +0000
commitb2edd3b5c7defda7924d0163210979010b4441e3 (patch)
tree99d7e7ba4d71a3a8a66d93109de8b0f5d8cdbb44
parent4cd5aacc4be163303f32b61db45edba69d20f922 (diff)
downloadgdb-b2edd3b5c7defda7924d0163210979010b4441e3.zip
gdb-b2edd3b5c7defda7924d0163210979010b4441e3.tar.gz
gdb-b2edd3b5c7defda7924d0163210979010b4441e3.tar.bz2
* Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. * Makefile.in: Regenerated.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.def1
-rw-r--r--Makefile.in2
-rw-r--r--Makefile.tpl1
4 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e9c077..73f8cbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-07 Andreas Schwab <schwab@suse.de>
+
+ * 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 <kazu@codesourcery.com>
* configure.in: Add --enable-libssp and --disable-libssp.
diff --git a/Makefile.def b/Makefile.def
index bba0630..58c1bd0 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 3748f32..335fecc 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 de6ee68..73d0dcc 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=/'`" \