From 55cf88f2c80c727d12a881596781ada545e07ad5 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Tue, 31 Mar 2026 18:16:17 -0300 Subject: [PATCH] build/macos: Fail on warnings on Apple Clang builds for gimp sake --- build/macos/2_build-gimp-macports.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/macos/2_build-gimp-macports.sh b/build/macos/2_build-gimp-macports.sh index a8a8a1f07d..390799010d 100644 --- a/build/macos/2_build-gimp-macports.sh +++ b/build/macos/2_build-gimp-macports.sh @@ -38,7 +38,7 @@ eval "$(sed -n -e 's/- //' -e '/macos_environ\[/,/macos_environ/p' .gitlab-ci.ym # Build GIMP only printf "\e[0Ksection_start:`date +%s`:gimp_build[collapsed=true]\r\e[0KBuilding GIMP\n" if [ ! -f "_build-$(uname -m)/build.ninja" ]; then - meson setup _build-$(uname -m) -Dprefix="$GIMP_PREFIX" $NON_RELOCATABLE_OPTION \ + meson setup _build-$(uname -m) -Dprefix="$GIMP_PREFIX" $NON_RELOCATABLE_OPTION $WARN_AS_ERROR_ON_CI \ $PKGCONF_RELOCATABLE_OPTION $DMG_OPTION \ -Dbuild-id=org.gimp.GIMP_official \ -Dc_args="-I${OPT_PREFIX}/include" -Dcpp_args="-I${OPT_PREFIX}/include" -Dc_link_args="-L${OPT_PREFIX}/lib" -Dcpp_link_args="-L${OPT_PREFIX}/lib"