aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-04-10 08:31:28 +0000
committerJim Blandy1993-04-10 08:31:28 +0000
commit55bd4cbcb5232afb65d9ada8bc5c93e9008e0aa0 (patch)
treedc1f0b2854c6f7854d9bec2e66fea204474108da /src
parent8ba83d8852bce7813ae0c4237edd82f15014f0d0 (diff)
downloademacs-55bd4cbcb5232afb65d9ada8bc5c93e9008e0aa0.tar.gz
emacs-55bd4cbcb5232afb65d9ada8bc5c93e9008e0aa0.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 2c7fad192e5..5f0afca50c3 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -75,7 +75,7 @@ xmakefile: ymakefile config.h
75 ${CPP} ${CFLAGS} junk.c > junk.cpp \ 75 ${CPP} ${CFLAGS} junk.c > junk.cpp \
76 -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \ 76 -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \
77 | sed -e 's/-g /C_DEBUG_SWITCH /' \ 77 | sed -e 's/-g /C_DEBUG_SWITCH /' \
78 -e 's/-O /C_OPTIMIZE_SWITCH /'`" 78 -e 's/-O[0-9]* /C_OPTIMIZE_SWITCH /'`"
79 < junk.cpp \ 79 < junk.cpp \
80 sed -e 's/^#.*//' \ 80 sed -e 's/^#.*//' \
81 -e 's/^[ \f\t][ \f\t]*$$//' \ 81 -e 's/^[ \f\t][ \f\t]*$$//' \