diff --git a/srcpkgs/Ice/template b/srcpkgs/Ice/template index 69fcb5ea63..84549a19b0 100644 --- a/srcpkgs/Ice/template +++ b/srcpkgs/Ice/template @@ -16,6 +16,9 @@ case "$XBPS_TARGET_MACHINE" in aarch64*) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/739/steps/shell_3/logs/stdio";; esac +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then + CXXFLAGS+=" -Wno-catch-value" +fi if [ "$CROSS_BUILD" ]; then # Cross build requires the host's slice2cpp and slice2freeze