dev-cpp/robin-map: don't build tests w/ -Werror

Closes: https://bugs.gentoo.org/935749
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2024-07-08 15:17:50 +01:00
parent 033ee0ce78
commit a6b3dbc240
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 8 additions and 2 deletions

View File

@ -27,7 +27,10 @@ BDEPEND="
src_test() {
cd tests || die
sed -i -e '/Boost_USE_STATIC_LIBS/d' CMakeLists.txt || die
sed -i \
-e '/Boost_USE_STATIC_LIBS/d' \
-e 's/-Werror//' \
CMakeLists.txt || die
cmake -S "${S}/tests" -B . -GNinja || die
eninja
./tsl_robin_map_tests || die

View File

@ -27,7 +27,10 @@ BDEPEND="
src_test() {
cd tests || die
sed -i -e '/Boost_USE_STATIC_LIBS/d' CMakeLists.txt || die
sed -i \
-e '/Boost_USE_STATIC_LIBS/d' \
-e 's/-Werror//' \
CMakeLists.txt || die
cmake -S "${S}/tests" -B . -GNinja || die
eninja
./tsl_robin_map_tests || die