From 7b636683889ecc6c26745d678dfdf2d7787dfd17 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 1 Nov 1993 20:18:22 +0000 Subject: [PATCH] * Makefile.in (CXXFLAGS): Add -O. --- ChangeLog | 8 ++++++++ Makefile.in | 13 ++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e396536362f..cfd090814fc 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 38be28d930d..cf2c867c078 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 ; \ -- 2.30.2