aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-01 20:18:22 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-01 20:18:22 +0000
commit7b636683889ecc6c26745d678dfdf2d7787dfd17 (patch)
tree5d9f3e9d3eb03a142ae0631877e1e9a236aa5daf /Makefile.in
parentde807a9b6acc267f5aa9c14d30084c2e1cc80803 (diff)
downloadgdb-7b636683889ecc6c26745d678dfdf2d7787dfd17.zip
gdb-7b636683889ecc6c26745d678dfdf2d7787dfd17.tar.gz
gdb-7b636683889ecc6c26745d678dfdf2d7787dfd17.tar.bz2
* Makefile.in (CXXFLAGS): Add -O.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 38be28d..cf2c867 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -54,13 +54,20 @@ AS = as
AR = ar
AR_FLAGS = rc
CC = cc
+
+# We don't specify -g -O because many compilers don't support -g -O,
+# and/or -O is broken in and of itself.
CFLAGS = -g
+
# start-sanitize-chill
CHILLFLAGS = $(CFLAGS)
CHILL_LIB = -lchill
# end-sanitize-chill
CXX = gcc
-CXXFLAGS = -g
+
+# Use -O to stress test the compiler.
+CXXFLAGS = -g -O
+
RANLIB = ranlib
NM = nm
MUNCH_NM = $(NM)
@@ -1052,7 +1059,7 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex texinfo/gpl.texinfo
# Do this first so "diststuff" files get built properly.
for f in $(DISTBISONFILES) ; do \
if [ -r $$f ]; then \
- sed '/^BISON *=.*$/s/.*/BISON = bison -y/' <$$f >tmp ; \
+ sed '/^BISON *=.*$$/s/.*/BISON = bison -y/' <$$f >tmp ; \
mv -f tmp $$f ; \
else true; fi ; \
done
@@ -1070,7 +1077,7 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex texinfo/gpl.texinfo
case " $$p " in \
*" $$d "*) \
echo making diststuff in $$d ; \
- (cd $$d ; $(MAKE) diststuff) || exit 1 ;; \
+ (cd $$d ; pwd ; $(MAKE) diststuff BISON="bison -y") || exit 1 ;; \
esac ; \
if [ -d $$d/proto-$$d.dir ]; then \
ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \