Commit 9891ec5f by Daniel Jacobowitz Committed by Daniel Jacobowitz

re PR bootstrap/30469 (profiledbootstrap no longer works)

	PR bootstrap/30469
	* Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
	-fprofile-use.

From-SVN: r121257
parent 3cc1cccc
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> 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
* configure.ac: Add --enable-version-specific-runtime-libs. * configure.ac: Add --enable-version-specific-runtime-libs.
......
...@@ -195,6 +195,10 @@ INCLUDES = -I. -I$(@D) -I$(gcc_objdir) \ ...@@ -195,6 +195,10 @@ INCLUDES = -I. -I$(@D) -I$(gcc_objdir) \
-I$(srcdir) -I$(srcdir)/$(@D) -I$(srcdir)/../gcc \ -I$(srcdir) -I$(srcdir)/$(@D) -I$(srcdir)/../gcc \
-I$(srcdir)/../include $(DECNUMINC) -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 # CFLAGS first is not perfect; normally setting CFLAGS should override any
# options in LIBGCC2_CFLAGS. But LIBGCC2_CFLAGS may contain -g0, and CFLAGS # 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 # will usually contain -g, so for the moment CFLAGS goes first. We must
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment