aboutsummaryrefslogtreecommitdiff
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
parentde807a9b6acc267f5aa9c14d30084c2e1cc80803 (diff)
downloadgdb-7b636683889ecc6c26745d678dfdf2d7787dfd17.zip
gdb-7b636683889ecc6c26745d678dfdf2d7787dfd17.tar.gz
gdb-7b636683889ecc6c26745d678dfdf2d7787dfd17.tar.bz2
* Makefile.in (CXXFLAGS): Add -O.
-rw-r--r--ChangeLog8
-rw-r--r--Makefile.in13
2 files changed, 18 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e396536..cfd0908 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Mon Nov 1 10:42:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * Makefile.in (CXXFLAGS): Add -O.
+
+Wed Oct 27 10:45:06 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
+
+ * config.guess: added support for DG Aviion
+
Tue Oct 26 14:37:37 1993 Ken Raeburn (raeburn@rover.cygnus.com)
* configure.in: Produce warning message for subdirectories not
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 ; \