From 47488fd671746137fd63e32eef089cd395ce41a4 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Mon, 13 Aug 2007 12:38:10 +1000 Subject: [PATCH] boost: fix string that would cause problems if gcc revision is greater than 1 --- boost/Pkgfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" (