Ice: fix gcc-8.2.0 build

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-08-12 10:06:26 +02:00
parent b04b692c17
commit 47cdb43b97
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -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