diff options
Diffstat (limited to 'contrib/config-list.mk')
-rw-r--r-- | contrib/config-list.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/config-list.mk b/contrib/config-list.mk index 16900e19e53..db2bad05b12 100644 --- a/contrib/config-list.mk +++ b/contrib/config-list.mk @@ -97,8 +97,7 @@ $(LIST): make-log-dir -mkdir $@ ( \ cd $@ && \ - echo $@ && \ - TGT=`echo $@ | sed -e 's/^\(.*\)OPT.*$$/\1/'` && \ + TGT=`echo $@ | awk 'BEGIN { FS = "OPT" }; { print $$1 }'` && \ TGT=`../../gcc/config.sub $$TGT` && \ case $$TGT in \ *-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*) \ |