mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Merge pull request #5720 from heitbaum/wayland
wayland and xorg-intel-gpu-tools: do not build with NDEBUG
This commit is contained in:
commit
8696f6d824
@ -21,3 +21,8 @@ PKG_MESON_OPTS_TARGET="-Dbuild_overlay=false \
|
||||
-Dwith_libdrm=auto \
|
||||
-Dwith_libunwind=false \
|
||||
-Dbuild_runner=false"
|
||||
|
||||
pre_configure_target() {
|
||||
# xorg-intel-gpu-tools does not build with NDEBUG (requires assert for tests)
|
||||
export TARGET_CFLAGS=$(echo ${TARGET_CFLAGS} | sed -e "s|-DNDEBUG||g")
|
||||
}
|
||||
|
@ -26,6 +26,11 @@ PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=${SYSROOT_PREFIX} \
|
||||
--disable-documentation \
|
||||
--with-gnu-ld"
|
||||
|
||||
pre_configure_target() {
|
||||
# wayland does not build with NDEBUG (requires assert for tests)
|
||||
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-DNDEBUG||g")
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
rm -rf ${INSTALL}/usr/share
|
||||
|
Loading…
x
Reference in New Issue
Block a user