diff --git a/srcpkgs/flatbuffers/template b/srcpkgs/flatbuffers/template index 2888235df1a..d38db2c5b08 100644 --- a/srcpkgs/flatbuffers/template +++ b/srcpkgs/flatbuffers/template @@ -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"