summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 11:48:24 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 11:48:24 +0000
commitc19ee4768fdbc75f735832504f6ddd4ddcdf3b17 (patch)
tree28d18064aa81e4414f8bd04d4a36cd9fb37d2cf9
parente8eace9fd496f1e0733ab663a1dd4632843f9855 (diff)
downloadppe42-gcc-c19ee4768fdbc75f735832504f6ddd4ddcdf3b17.tar.gz
ppe42-gcc-c19ee4768fdbc75f735832504f6ddd4ddcdf3b17.zip
* configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
coverage is on. * configure: Regenerated. * Makefile.in (ALL_CFLAGS): Correct its comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69136 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/Makefile.in5
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.in4
4 files changed, 13 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e5cf6bba078..d19961db885 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
+
+ * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
+ coverage is on.
+ * configure: Regenerated.
+ * Makefile.in (ALL_CFLAGS): Correct its comment.
+
2003-07-08 Mark Mitchell <mark@codesourcery.com>
* fold-const.c (make_range): Do not access operand 1 for a
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ff2b409e60f..a0003cbeccd 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -668,9 +668,8 @@ CPPLIB_H = cpplib.h line-map.h
# autoconf inserts -DCROSS_COMPILE if we are building a cross compiler.
INTERNAL_CFLAGS = -DIN_GCC @CROSS@
-# This is the variable actually used when we compile.
-# If you change this line, you probably also need to change the definition
-# of BUILD_CFLAGS in build-make to match.
+# This is the variable actually used when we compile. If you change this,
+# you probably want to update BUILD_CFLAGS in configure.in
ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS) \
$(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@
diff --git a/gcc/configure b/gcc/configure
index 257d16f3b0d..798361b7ec4 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -5679,8 +5679,8 @@ BUILD_CFLAGS='$(ALL_CFLAGS)'
STMP_FIXINC=stmp-fixinc
STMP_FIXPROTO=stmp-fixproto
-# And these apply if build != host.
-if test x$build != x$host
+# And these apply if build != host, or we are generating coverage data
+if test x$build != x$host || test "x$coverage_flags" != x
then
BUILD_PREFIX=build-
BUILD_PREFIX_1=build-
diff --git a/gcc/configure.in b/gcc/configure.in
index 080850d966c..16bd3ea583f 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -1413,8 +1413,8 @@ BUILD_CFLAGS='$(ALL_CFLAGS)' AC_SUBST(BUILD_CFLAGS)
STMP_FIXINC=stmp-fixinc AC_SUBST(STMP_FIXINC)
STMP_FIXPROTO=stmp-fixproto AC_SUBST(STMP_FIXPROTO)
-# And these apply if build != host.
-if test x$build != x$host
+# And these apply if build != host, or we are generating coverage data
+if test x$build != x$host || test "x$coverage_flags" != x
then
BUILD_PREFIX=build-
BUILD_PREFIX_1=build-
OpenPOWER on IntegriCloud