summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2007-01-28 14:08:13 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2007-01-28 14:08:13 +0000
commit9891ec5f7d2ce04df2e49dafca8136a7d71c5fbe (patch)
tree95a1f29cab6894779b06e65a79e9f8dfcc9bdaa7 /libgcc
parent3cc1cccc6da7a590bc469bdba47c5f7ec45def4d (diff)
downloadgcc-9891ec5f7d2ce04df2e49dafca8136a7d71c5fbe.tar.gz
re PR bootstrap/30469 (profiledbootstrap no longer works)
PR bootstrap/30469 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and -fprofile-use. From-SVN: r121257
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/Makefile.in4
2 files changed, 10 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 33907af6921..a92bf3998cc 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ PR bootstrap/30469
+ * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
+ -fprofile-use.
+
2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
* configure.ac: Add --enable-version-specific-runtime-libs.
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index 689e0cde197..a911ef8f2bc 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -195,6 +195,10 @@ INCLUDES = -I. -I$(@D) -I$(gcc_objdir) \
-I$(srcdir) -I$(srcdir)/$(@D) -I$(srcdir)/../gcc \
-I$(srcdir)/../include $(DECNUMINC)
+# Forcibly remove any profiling-related flags. There is no point
+# in supporting profiled bootstrap in this library.
+override CFLAGS := $(filter-out -fprofile-generate -fprofile-use,$(CFLAGS))
+
# CFLAGS first is not perfect; normally setting CFLAGS should override any
# options in LIBGCC2_CFLAGS. But LIBGCC2_CFLAGS may contain -g0, and CFLAGS
# will usually contain -g, so for the moment CFLAGS goes first. We must