mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -169,6 +169,14 @@ src_prepare() {
|
||||
# makefile attempts to install wayland library even if not built
|
||||
use wayland || sed -i 's/ WAYLAND_LIB_install$//' \
|
||||
nvidia-settings/src/Makefile || die
|
||||
|
||||
# temporary dirty workaround for clang being stricter than gcc,
|
||||
# reproducing requires a kernel with CONFIG_OF_GPIO enabled
|
||||
# nv-linux.h:1737:51: error: passing 'const struct gpio_device *' [...]
|
||||
if CC=${KERNEL_CC} tc-is-clang; then
|
||||
sed -e 's/-Wno-error/& -Wno-error=incompatible-pointer-types-discards-qualifiers/' \
|
||||
-i kernel-module-source/kernel-open/Kbuild || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user