flatbuffers: fix gcc9 build
[ci skip]
This commit is contained in:
parent
11baa9380a
commit
06155b6c8c
@ -10,6 +10,9 @@ homepage="https://google.github.io/flatbuffers/"
|
||||
distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=3714e3db8c51e43028e10ad7adffb9a36fc4aa5b1a363c2d0c4303dd1be59a7c
|
||||
|
||||
# prevents building of tests on gcc9
|
||||
CXXFLAGS="-Wno-error=class-memaccess"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Disable tests to prevent executing target binaries on host
|
||||
configure_args="-DFLATBUFFERS_BUILD_TESTS=OFF"
|
||||
|
Loading…
x
Reference in New Issue
Block a user