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