gui-apps/wscreensaver: fix build for gcc

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2023-12-13 22:43:56 +01:00
parent e45f01c80c
commit fa1923135f

View File

@@ -48,7 +48,9 @@ src_configure() {
local S="$S"/wayland
# Will write a patch later and send it to upstream.
# For now accept it.
append-cflags -Wno-error=incompatible-function-pointer-types
if [[ $CC == clang* ]]; then
append-cflags -Wno-error=incompatible-function-pointer-types
fi
meson_src_configure
}