Mercurial > emacs
changeset 2517:f006be4acbed
* Makefile.in (xmakefile): Recognize the -O option with a numeric
optimization level.
* ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
higher, use -O99 instead of plain -O.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 10 Apr 1993 08:31:28 +0000 |
parents | a5cb0d9f5916 |
children | 10509afe2588 |
files | src/=Makefile.in |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/=Makefile.in Sat Apr 10 08:30:27 1993 +0000 +++ b/src/=Makefile.in Sat Apr 10 08:31:28 1993 +0000 @@ -75,7 +75,7 @@ ${CPP} ${CFLAGS} junk.c > junk.cpp \ -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \ | sed -e 's/-g /C_DEBUG_SWITCH /' \ - -e 's/-O /C_OPTIMIZE_SWITCH /'`" + -e 's/-O[0-9]* /C_OPTIMIZE_SWITCH /'`" < junk.cpp \ sed -e 's/^#.*//' \ -e 's/^[ \f\t][ \f\t]*$$//' \