diff --git a/boost/Pkgfile b/boost/Pkgfile index c85bd2e30..508ff28c0 100644 --- a/boost/Pkgfile +++ b/boost/Pkgfile @@ -13,7 +13,7 @@ build() { cd boost_${version//./_} 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" (