summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-09-25 15:42:29 +0200
committerMartin Väth <martin@mvath.de>2017-09-25 15:42:29 +0200
commitd6922fcbe3fc474ccb92ec05817ef0b2cec338ab (patch)
treef17db0907564c6f38e69cb31e1835c3f6f8c7434 /app-arch
parentapp-text/lesspipe: Alpha version bump. Support >=app-arch/brotli-1.0.0 CLI (diff)
downloadmv-d6922fcbe3fc474ccb92ec05817ef0b2cec338ab.tar.gz
mv-d6922fcbe3fc474ccb92ec05817ef0b2cec338ab.tar.bz2
mv-d6922fcbe3fc474ccb92ec05817ef0b2cec338ab.zip
app-arch/brotli: Filter -fPIE -pie when compiling python lib
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/brotli/brotli-1.0.1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-arch/brotli/brotli-1.0.1.ebuild b/app-arch/brotli/brotli-1.0.1.ebuild
index 8dd26ff1..4823567b 100644
--- a/app-arch/brotli/brotli-1.0.1.ebuild
+++ b/app-arch/brotli/brotli-1.0.1.ebuild
@@ -7,7 +7,7 @@ RESTRICT="mirror"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
DISTUTILS_OPTIONAL="1"
-inherit cmake-utils distutils-r1
+inherit cmake-utils distutils-r1 flag-o-matic
DESCRIPTION="Generic-purpose lossless compression algorithm"
HOMEPAGE="https://github.com/google/brotli"
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}"
-RDEPEND+=" !!<app-arch/archwrap-8"
+RDEPEND+=" !<app-arch/archwrap-8"
IUSE="doc python static-libs test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -41,7 +41,10 @@ src_configure() {
-DBUILD_TESTING="$(usex test)"
)
cmake-utils_src_configure
- use python && distutils-r1_src_configure
+ if use python ; then
+ filter-flags -fPIE -pie
+ distutils-r1_src_configure
+ fi
}
src_compile() {