From 69dc1b489f04240e2cc96d2e0f95dfdcee50243d Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 8 Oct 2019 02:07:29 +0200 Subject: [PATCH] flatbuffers: fix gcc9 build [ci skip] --- srcpkgs/flatbuffers/template | 3 +++ 1 file changed, 3 insertions(+) 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"