mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/rapidfuzz: Sterilize LTO-related build flags
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -37,4 +37,11 @@ BDEPEND="
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export RAPIDFUZZ_BUILD_EXTENSION=1
|
||||
src_prepare() {
|
||||
# sterilize build flags
|
||||
sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
|
||||
export RAPIDFUZZ_BUILD_EXTENSION=1
|
||||
}
|
||||
Reference in New Issue
Block a user