mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/gnome-builder: fix build with clang
Bug: https://bugs.gentoo.org/884067 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
@@ -135,6 +135,13 @@ pkg_setup() {
|
||||
use clang && llvm_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fails with clang due to `environ` variable name shadowing unistd.h one
|
||||
sed -i -e '/-Werror=shadow/d' meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dchannel=other
|
||||
|
||||
Reference in New Issue
Block a user