mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-libs/level-zero: disable -Werror by CMake
Closes: https://bugs.gentoo.org/965841 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
parent
f7d4d2fb14
commit
b71ca2b013
@ -18,7 +18,7 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Don't hardcore -Werror
|
||||
sed -e 's/-Werror//g' -i CMakeLists.txt || die
|
||||
sed -e 's/-Werror//g' -e '/CMAKE_COMPILE_WARNING_AS_ERROR/ s/ON/OFF/' -i CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user