mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user