From 67d88bf0772e7c46b6d3037c311cb0fed25bb94a Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Wed, 10 Dec 2008 02:51:05 +1100 Subject: [PATCH] boost-jam: fix CFLAGS (thanks mike_k) --- boost-jam/.md5sum | 2 +- boost-jam/Pkgfile | 2 -- boost-jam/boost-jam-3.1.17-cflags.patch | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/boost-jam/.md5sum b/boost-jam/.md5sum index 9248463bf..1811af205 100644 --- a/boost-jam/.md5sum +++ b/boost-jam/.md5sum @@ -1,3 +1,3 @@ -67511b40359cd83cd3ae1cd8002934f7 boost-jam-3.1.17-cflags.patch +8cfd59ba4a53dc4a0de8c865972bcb58 boost-jam-3.1.17-cflags.patch 30e319a97f0e951c73cc8b7ddaec09fc boost-jam-3.1.17-misc.patch f4afd896788f2327fd35c128ddc6e340 boost-jam-3.1.17.tgz diff --git a/boost-jam/Pkgfile b/boost-jam/Pkgfile index 47144aa28..9a606f86e 100644 --- a/boost-jam/Pkgfile +++ b/boost-jam/Pkgfile @@ -15,9 +15,7 @@ build() { cd $name-$version patch -p 1 -i $SRC/$name-3.1.17-misc.patch patch -p 1 -i $SRC/$name-3.1.17-cflags.patch - export CFLAGS+="-fno-strict-aliasing" local bindir='bin.linuxx86' ./build.sh gcc install -m 0755 -D $bindir/bjam $PKG/usr/bin/bjam } - diff --git a/boost-jam/boost-jam-3.1.17-cflags.patch b/boost-jam/boost-jam-3.1.17-cflags.patch index 7731863ac..0201b3ec3 100644 --- a/boost-jam/boost-jam-3.1.17-cflags.patch +++ b/boost-jam/boost-jam-3.1.17-cflags.patch @@ -6,7 +6,7 @@ diff -pruN boost-jam-3.1.17.orig/build.jam boost-jam-3.1.17/build.jam toolset gcc gcc : "-o " : -D : -pedantic -fno-strict-aliasing - [ opt --release : [ opt --symbols : -g : -s ] -O3 ] -+ [ opt --release : [ opt --symbols : -g : -s ] $(CFLAGS) ] ++ [ opt --release : [ opt --symbols : -g : -s ] $(CFLAGS) -fno-strict-aliasing ] [ opt --debug : -g -O0 -fno-inline ] -I$(--python-include) -I$(--extra-include) -Wno-long-long : -L$(--python-lib[1]) -l$(--python-lib[2]) ;