summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2016-10-21 20:57:06 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2016-10-21 20:57:23 +0300
commitfb80dd5a2d4ef90e0401d408e6ed12f0d6e5cde4 (patch)
tree39897ec5c254656d4f67cc7c2bf9a12fe1fc7605 /dev-libs/crypto++
parentsys-libs/e2fsprogs-libs-1.43.3-r0: stable on alpha (diff)
downloadgentoo-fb80dd5a2d4ef90e0401d408e6ed12f0d6e5cde4.tar.gz
gentoo-fb80dd5a2d4ef90e0401d408e6ed12f0d6e5cde4.tar.bz2
gentoo-fb80dd5a2d4ef90e0401d408e6ed12f0d6e5cde4.zip
dev-libs/crypto++: fix shared library on non intel
Bug: 597514
Diffstat (limited to 'dev-libs/crypto++')
-rw-r--r--dev-libs/crypto++/crypto++-5.6.4-r4.ebuild (renamed from dev-libs/crypto++/crypto++-5.6.4-r3.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/crypto++/crypto++-5.6.4-r3.ebuild b/dev-libs/crypto++/crypto++-5.6.4-r4.ebuild
index f19fedd1f21e..a119cd7b519a 100644
--- a/dev-libs/crypto++/crypto++-5.6.4-r3.ebuild
+++ b/dev-libs/crypto++/crypto++-5.6.4-r4.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
DESCRIPTION="C++ class library of cryptographic schemes"
HOMEPAGE="http://cryptopp.com"
@@ -20,6 +20,8 @@ DEPEND="app-arch/unzip"
S="${WORKDIR}"
src_configure() {
+ append-flags -fPIC # bug#597514
+
local mycmakeargs=(
-DBUILD_SHARED=ON
-DBUILD_STATIC=$(usex static-libs ON $(usex test ON OFF))