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