Bugfix: GCCVAR contains two lines ("Reading specs ..." and the actual
version), so we need echo $GCCVAR | sed ... instead of echo "$GCCVAR" | sed ... to process it as intended.
This commit is contained in:
parent
e84240d422
commit
767f68cc80
1 changed files with 1 additions and 1 deletions
2
config
2
config
|
@ -333,7 +333,7 @@ esac
|
|||
# gcc < 2.8 does not support -mcpu=ultrasparc
|
||||
if [ "$OUT" = solaris-usparc-gcc ]
|
||||
then
|
||||
if [ `echo "$GCCVER" | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
|
||||
if [ `echo $GCCVER | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
|
||||
then
|
||||
OUT=solaris-usparc-oldgcc
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue