summaryrefslogtreecommitdiff
path: root/config.bat
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1999-08-04 10:19:09 +0000
committerEli Zaretskii <eliz@gnu.org>1999-08-04 10:19:09 +0000
commit2e4a0140b9d4b7d2677a518b41d3245170a58708 (patch)
treebf19639b460c82308b24046e28a3c8771fa76416 /config.bat
parente417c66fa3b2a593f1e134654b72bf15f67ba223 (diff)
downloademacs-2e4a0140b9d4b7d2677a518b41d3245170a58708.tar.gz
Make --no-debug work again by removing -gcoff.
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.bat b/config.bat
index f5e73928a9d..74060672af1 100644
--- a/config.bat
+++ b/config.bat
@@ -163,7 +163,7 @@ rm -f makefile.tmp
:src5
if "%nodebug%" == "" goto src6
-sed -e "/^CFLAGS *=/s/ *-g//" <Makefile >makefile.tmp
+sed -e "/^CFLAGS *=/s/ *-gcoff//" <Makefile >makefile.tmp
sed -e "/^LDFLAGS *=/s/=/=-s/" <makefile.tmp >Makefile
rm -f makefile.tmp
:src6
@@ -182,7 +182,7 @@ sed -f ../msdos/sed3v2.inp <makefile.new >Makefile
:libsrc2
rm -f makefile.new junk.c
if "%nodebug%" == "" goto libsrc3
-sed -e "/^CFLAGS *=/s/ *-g//" <Makefile >makefile.tmp
+sed -e "/^CFLAGS *=/s/ *-gcoff//" <Makefile >makefile.tmp
sed -e "/^ALL_CFLAGS *=/s/=/= -s/" <makefile.tmp >Makefile
rm -f makefile.tmp
:libsrc3
@@ -193,7 +193,7 @@ Echo Configuring the oldxmenu directory...
cd oldxmenu
sed -f ../msdos/sed5x.inp <Makefile.in >Makefile
if "%nodebug%" == "" goto oldx2
-sed -e "/^CFLAGS *=/s/ *-g//" <Makefile >makefile.tmp
+sed -e "/^CFLAGS *=/s/ *-gcoff//" <Makefile >makefile.tmp
mv -f makefile.tmp Makefile
:oldx2
cd ..