boost: fix string that would cause problems if gcc revision is greater than 1
This commit is contained in:
parent
5b129de6c9
commit
47488fd671
@ -13,7 +13,7 @@ build() {
|
|||||||
cd boost_${version//./_}
|
cd boost_${version//./_}
|
||||||
|
|
||||||
local bindir='bin.linuxx86'
|
local bindir='bin.linuxx86'
|
||||||
local gccversion="$(pkginfo -i |grep '^gcc ' |awk '{print $2}' |sed -e "s/\([.0-9]*\)-1/\1/")"
|
local gccversion="$(pkginfo -i |grep '^gcc ' |awk '{print $2}' |sed -e "s/\([.0-9]*\)-[0-9]*/\1/")"
|
||||||
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||||
|
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user