summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-30 22:20:57 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-30 22:20:57 +0000
commit6f63674eae1ae1d6604de92071d85af2531254d8 (patch)
tree428609d50d290457490a5b043e82319fceda3653 /gcc/Makefile.in
parentfda35380199867ed542993ca48abeec3c9944b6b (diff)
downloadgcc-6f63674eae1ae1d6604de92071d85af2531254d8.tar.gz
* configure.in: If the native compiler is GCC use $(WARN_CFLAGS)
even in stage1. * Makefile.in: Likewise. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22120 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 07ae002995f..c37ecbdce4f 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -53,7 +53,8 @@ ALLOCA_FINISH = true
# CFLAGS is for the user to override to, e.g., do a bootstrap with -O2.
# BOOT_CFLAGS is the value of CFLAGS to pass
# to the stage2 and stage3 compilations
-# WARN_CFLAGS are the warning flags to pass to stage2 and stage3. It is
+# WARN_CFLAGS are the warning flags to pass to stage2 and stage3.
+# (And for stage 1 if the native compiler is GCC.) It is
# separate from BOOT_CFLAGS because people tend to override optimization
# flags and we'd like them to still have warnings turned on. They are free
# to explicitly turn warnings off if they wish.
@@ -61,7 +62,7 @@ ALLOCA_FINISH = true
# TCFLAGS is used for compilations with the GCC just built.
XCFLAGS =
TCFLAGS =
-CFLAGS = -g
+CFLAGS = -g @stage1_warn_cflags@
BOOT_CFLAGS = -O2 $(CFLAGS)
WARN_CFLAGS = -W -Wall
# These exists to be overridden by the x-* and t-* files, respectively.