weston: fix build / disable pipewire

- weston needs to be build with target cflags not cflags which are probably host cflags
This commit is contained in:
SupervisedThinking 2021-11-17 13:28:44 +01:00
parent 302c3c7f37
commit c4ef45d3ad

View File

@ -19,6 +19,7 @@ PKG_MESON_OPTS_TARGET="-Dbackend-drm-screencast-vaapi=false \
-Dweston-launch=false \
-Dxwayland=false \
-Dremoting=false \
-Dpipewire=false \
-Dshell-fullscreen=false \
-Dshell-ivi=false \
-Dcolor-management-lcms=false \
@ -32,7 +33,7 @@ PKG_MESON_OPTS_TARGET="-Dbackend-drm-screencast-vaapi=false \
pre_configure_target() {
# weston does not build with NDEBUG (requires assert for tests)
export TARGET_CFLAGS=$(echo ${CFLAGS} | sed -e "s|-DNDEBUG||g")
export TARGET_CFLAGS=$(echo ${TARGET_CFLAGS} | sed -e "s|-DNDEBUG||g")
}
post_makeinstall_target() {