aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-07-23 16:33:04 +0000
committerIan Lance Taylor <ian@airs.com>1997-07-23 16:33:04 +0000
commit6cd41c5e70a9f0b75ecd1faaa1e59f2ce06fce64 (patch)
tree7fcac4991f91ef2b00a312a86161b9ea5d3c3f99 /config
parent6bc5b2fa96be25832c95798e3573b9d3e5225718 (diff)
downloadgdb-6cd41c5e70a9f0b75ecd1faaa1e59f2ce06fce64.zip
gdb-6cd41c5e70a9f0b75ecd1faaa1e59f2ce06fce64.tar.gz
gdb-6cd41c5e70a9f0b75ecd1faaa1e59f2ce06fce64.tar.bz2
Wed Jul 23 12:32:18 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* mh-go32 (CFLAGS): Don't set -fno-omit-frame-pointer. Also Sanitize out MAKEINFOFLAGS and INSTALL_DOSREL unless keep-cygnus.
Diffstat (limited to 'config')
-rw-r--r--config/.Sanitize28
-rw-r--r--config/mh-go325
2 files changed, 32 insertions, 1 deletions
diff --git a/config/.Sanitize b/config/.Sanitize
index a8a12cf..9b42c54 100644
--- a/config/.Sanitize
+++ b/config/.Sanitize
@@ -107,5 +107,33 @@ else
done
fi
+cygnus_files="mh-go32"
+
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping cygnus stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"cygnus\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
# End of file.
diff --git a/config/mh-go32 b/config/mh-go32
index f496b5b..d18f082 100644
--- a/config/mh-go32
+++ b/config/mh-go32
@@ -1,6 +1,8 @@
# We don't want to use debugging information on DOS. Unfortunately,
# this requires that we set CFLAGS.
-CFLAGS=-O2 -fno-omit-frame-pointer
+# This used to set -fno-omit-frame-pointer.
+CFLAGS=-O2
+# start-sanitize-cygnus
# We set MAKEINFOFLAGS to not split .info files, because the resulting
# file names don't work on DOS.
@@ -8,3 +10,4 @@ MAKEINFOFLAGS=--no-split
# This does some sort of DOS specific installation, I guess.
INSTALL_DOSREL=install-dosrel
+# end-sanitize-cygnus