# HG changeset patch # User Jim Blandy # Date 734430688 0 # Node ID f006be4acbed7fc15ef9ba857c22029875ca7425 # Parent a5cb0d9f59160166f9705e93dd60eeb67739c3f5 * 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. diff -r a5cb0d9f5916 -r f006be4acbed src/=Makefile.in --- 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]*$$//' \