cpp-hocon: 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-09 14:36:23 +02:00
parent cede5197d3
commit 2354746907
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 4 additions and 0 deletions

View File

@ -11,3 +11,7 @@ license="Apache-2.0"
homepage="https://github.com/puppetlabs/cpp-hocon"
distfiles="https://github.com/puppetlabs/cpp-hocon/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=1d771de9342e74115a27355c80a81a510c7851cb1269bac1dd2582c84425652c
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then
CXXFLAGS+=" -Wno-catch-value"
fi