From cede5197d3f7b09665b104e84a74eb517264ec6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 9 Aug 2018 14:35:40 +0200 Subject: [PATCH] leatherman: 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/leatherman/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/leatherman/template b/srcpkgs/leatherman/template index 88016758393..6b76efe37ab 100644 --- a/srcpkgs/leatherman/template +++ b/srcpkgs/leatherman/template @@ -12,3 +12,7 @@ license="Apache-2.0" homepage="https://github.com/puppetlabs/leatherman" distfiles="https://github.com/puppetlabs/leatherman/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=32ccdb21db3ccc326bac255b35fc6c16b2ddbe39bbd5afdddcadc622e2814fc2 + +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then + CXXFLAGS+=" -Wno-ignored-qualifiers -Wno-class-memaccess -Wno-catch-value" +fi