Skip to content

Commit

Permalink
dev-python/rapidfuzz: Sterilize LTO-related build flags
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Oct 5, 2022
1 parent bdd9665 commit 5ba6318
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 5ba6318

Please sign in to comment.