summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-01-21 00:50:03 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-01-21 00:50:03 +0000
commit06e77296f033245e4c822226368dbc032f50e693 (patch)
tree9e0694935d6f273d9adad6040183173e3def54c7 /gnu
parente84b0da9d1f67b7cd0ed762b4813e5253cd90c9f (diff)
Use HOST_CFLAGS to force gcc to build its helper tools without
optimization on vax. This is part of what's needed to get gcc through a double bootstrap with optimization turned on.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/gcc/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/Makefile.in b/gnu/egcs/gcc/Makefile.in
index ac9959a3977..6a2983a77d4 100644
--- a/gnu/egcs/gcc/Makefile.in
+++ b/gnu/egcs/gcc/Makefile.in
@@ -465,7 +465,11 @@ HOST_PREFIX=
# out of the way of the other rules for compiling the same source files.
HOST_PREFIX_1=loser-
HOST_CC=$(CC)
+.if ${MACHINE_ARCH} == "vax"
+HOST_CFLAGS=$(ALL_CFLAGS) -O0
+.else
HOST_CFLAGS=$(ALL_CFLAGS)
+.endif
HOST_CLIB=$(CLIB)
HOST_INTLLIBS=$(INTLLIBS)
HOST_LDFLAGS=$(LDFLAGS)