diff --git a/srcpkgs/facter/template b/srcpkgs/facter/template index 16aaf57722..9c41ba09bb 100644 --- a/srcpkgs/facter/template +++ b/srcpkgs/facter/template @@ -15,6 +15,10 @@ homepage="http://puppetlabs.com/facter" distfiles="http://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz" checksum=aafded9846f397bc0c74ab71376f9172f44fc8e5bece243454d2f26c2be073a0 +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then + CXXFLAGS+=" -Wno-catch-value -Wno-stringop-truncation" +fi + post_install() { vlicense LICENSE }