diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 69ee11d23c..0a4a661e48 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -19,6 +19,8 @@ WESTON_CONF_OPTS = \ -Dcolor-management-colord=false \ -Dremoting=false +WESTON_CFLAGS="$(TARGET_CFLAGS) -UNDEBUG" + # Uses VIDIOC_EXPBUF, only available from 3.8+ ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),y) WESTON_CONF_OPTS += -Dsimple-clients=dmabuf-v4l