When building with sgi cc and gnu g++ both will now be added to relnotes.
This commit is contained in:
parent
18e4478dd4
commit
bebed60522
@ -1046,6 +1046,12 @@ auto_rel()
|
||||
else
|
||||
local compiler="$(cc -version 2>&1)"
|
||||
fi
|
||||
if [ "$CXX" = "g++" ]; then
|
||||
# SGI cc with gnu g++
|
||||
local compiler_temp="$(g++ --version 2>&1 | $SED -n '1,1p')"
|
||||
local compiler="$((echo $compiler; echo g++ ${compiler_temp##* }) | $AWK '{ printf "%s\\n",$0 }')"
|
||||
local compiler="${compiler%\\*}"
|
||||
fi
|
||||
fi
|
||||
local pkgnam_temp=$($GREP 'pkgname=' $metadir/pkgdef)
|
||||
local pkgnam=$(_upls ${pkgnam_temp#pkgname=*})
|
||||
|
Loading…
x
Reference in New Issue
Block a user