From 47cdb43b9734ad891c20633364551b9350c383a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 12 Aug 2018 10:06:26 +0200 Subject: [PATCH] Ice: fix gcc-8.2.0 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/Ice/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/Ice/template b/srcpkgs/Ice/template index 69fcb5ea636..84549a19b0a 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