summaryrefslogtreecommitdiff
path: root/gcc/mkconfig.sh
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-25 13:23:30 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-25 13:23:30 +0000
commitffbaac06f53483e28d458d088b89889f7a5a3944 (patch)
tree5a79ad011a13cf821cb6984b5be84c4672e69e0e /gcc/mkconfig.sh
parenta4ebafd0f6f1f9c623ed34de09cd1b639ab59701 (diff)
downloadgcc-ffbaac06f53483e28d458d088b89889f7a5a3944.tar.gz
* mkconfig.sh (DEFINES): Handle entries with '='.
* config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h. Set xm_defines to MACRO=value instead. * i370/xm-mvs.h: Delete. * ns32k/xm-pc532-min.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mkconfig.sh')
-rw-r--r--gcc/mkconfig.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh
index 5250708fcec..03c1d9d4ffc 100644
--- a/gcc/mkconfig.sh
+++ b/gcc/mkconfig.sh
@@ -44,8 +44,8 @@ if [ -n "$HEADERS" ]; then
fi
for def in $DEFINES; do
- echo "#ifndef $def"
- echo "# define $def"
+ echo "#ifndef $def" | sed 's/=.*//'
+ echo "# define $def" | sed 's/=/ /'
echo "#endif"
done