projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8bb90
)
dev-python/llvmlite: Update/fix flag mangling
author
Michał Górny
<mgorny@gentoo.org>
Sun, 9 Apr 2017 07:16:41 +0000
(09:16 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Mon, 10 Apr 2017 17:36:01 +0000
(19:36 +0200)
dev-python/llvmlite/llvmlite-0.16.0.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/llvmlite/llvmlite-0.16.0.ebuild
b/dev-python/llvmlite/llvmlite-0.16.0.ebuild
index e470147f80f316534972dbf0abe2f5ce168f9c59..47ce82f4870393d11801a5017faf0db785b2e91b 100644
(file)
--- a/
dev-python/llvmlite/llvmlite-0.16.0.ebuild
+++ b/
dev-python/llvmlite/llvmlite-0.16.0.ebuild
@@
-30,7
+30,11
@@
PATCHES=(
)
python_prepare_all() {
- sed -e 's/-flto$/-flto -fPIC/' \
+ # remove -static-libstdc++, it makes no sense with shared LLVM
+ # add -fPIC, needed to link against shared libraries
+ # disable -flto, we do not force it against user's wishes
+ sed -e 's/-static-libstdc++/-fPIC/' \
+ -e '/^(CXX|LD)_FLTO_FLAGS/d' \
-i ffi/Makefile.linux || die
distutils-r1_python_prepare_all
}