summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhil Edwards <phil@codesourcery.com>2004-03-04 22:04:38 +0000
committerPhil Edwards <pme@gcc.gnu.org>2004-03-04 22:04:38 +0000
commit8653fed73c04b5347a2c6d672010a61787147b5e (patch)
tree0a7b119cbba6e02122c37cd20f7776e497faca8b /gcc
parentdaae8185c813fc4970409ccb50231607494ca0f2 (diff)
downloadgcc-8653fed73c04b5347a2c6d672010a61787147b5e.tar.gz
genmultilib: Change '=' to '-' when translating option names to directory names.
2004-03-04 Phil Edwards <phil@codesourcery.com> * genmultilib: Change '=' to '-' when translating option names to directory names. From-SVN: r78938
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/genmultilib2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a141cc97684..d72dbf6899d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-04 Phil Edwards <phil@codesourcery.com>
+
+ * genmultilib: Change '=' to '-' when translating option names
+ to directory names.
+
2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of
diff --git a/gcc/genmultilib b/gcc/genmultilib
index 3cac4e9ad7a..df9627c94fe 100644
--- a/gcc/genmultilib
+++ b/gcc/genmultilib
@@ -311,7 +311,7 @@ for combo in ${combinations}; do
if [ -n "${todirnames}" ]; then
dirout=`echo ${combo} | sed ${todirnames}`
else
- dirout=${combo}
+ dirout=`echo ${combo} | sed -e 's/=/-/g'`
fi
# Remove the leading and trailing slashes.
dirout=`echo ${dirout} | sed -e 's|^/||' -e 's|/$||g'`