facter: fix gcc-8.2.0 build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
2354746907
commit
55306060d5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue