diff options
Diffstat (limited to 'libraries/cryptopp/cryptopp.SlackBuild')
-rw-r--r-- | libraries/cryptopp/cryptopp.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 88572443ef..dbf7139117 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -11,7 +11,7 @@ PRGNAM=cryptopp VERSION=${VERSION:-5.6.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -64,6 +64,10 @@ sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile # Fix Makefile to remove copying of non-existent *.so (else make install will fail) sed -i "/*.so/d" GNUmakefile +# Fix gcc-4.7.x builds +# https://lists.fedoraproject.org/pipermail/devel/2011-December/160723.html +patch -p1 < $CWD/cryptopp-5.6.1-gcc-4.7.0.patch + make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make install PREFIX=$PKG/usr |