diff options
| author | Jim Blandy | 1993-06-08 06:59:37 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-08 06:59:37 +0000 |
| commit | e44e10e4ea3a76bd5b6f1d71e6679e6d3c0f0b96 (patch) | |
| tree | d17ea43076736bec10e30e3c216d0aa432da5ca2 | |
| parent | 8e9b75edd9b48cb75d7721b8eb5ae26e4bf9cb10 (diff) | |
| download | emacs-e44e10e4ea3a76bd5b6f1d71e6679e6d3c0f0b96.tar.gz emacs-e44e10e4ea3a76bd5b6f1d71e6679e6d3c0f0b96.zip | |
* ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these;
people shouldn't edit this file to choose optimization and
debugging switches anyway. ../configure will set CFLAGS to an
appropriate default, which they will be able to override.
* Makefile.in (xmakefile): Don't try to turn -g and -O in
CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH. CFLAGS should
be the sole source of such switches, so that setting CFLAGS
controls them completely.
| -rw-r--r-- | src/Makefile.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 1cc94f6a732..4698ea1758b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -76,10 +76,7 @@ relock: | |||
| 76 | xmakefile: ymakefile config.h ../config.status | 76 | xmakefile: ymakefile config.h ../config.status |
| 77 | -rm -f xmakefile xmakefile.new junk.c junk.cpp | 77 | -rm -f xmakefile xmakefile.new junk.c junk.cpp |
| 78 | cp ${srcdir}/ymakefile junk.c | 78 | cp ${srcdir}/ymakefile junk.c |
| 79 | ${CPP} -I${srcdir} ${CFLAGS} junk.c > junk.cpp \ | 79 | ${CPP} -I${srcdir} ${CFLAGS} junk.c > junk.cpp |
| 80 | -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \ | ||
| 81 | | sed -e 's/-g /C_DEBUG_SWITCH /' \ | ||
| 82 | -e 's/-O[0-9]* /C_OPTIMIZE_SWITCH /'`" | ||
| 83 | < junk.cpp \ | 80 | < junk.cpp \ |
| 84 | sed -e 's/^#.*//' \ | 81 | sed -e 's/^#.*//' \ |
| 85 | -e 's/^[ \f\t][ \f\t]*$$//' \ | 82 | -e 's/^[ \f\t][ \f\t]*$$//' \ |