diff options
author | Lee Mracek | 2022-06-14 22:09:56 -0400 |
---|---|---|
committer | Lee Mracek | 2022-06-14 22:09:56 -0400 |
commit | fe039ad8291d9726947f24ac0c89a0104ea69eb0 (patch) | |
tree | 6a5c57caaa72996f67cc3bdf1f288d5c586fbcbe | |
parent | a4f50eedf6612cff4f32a16c6d9f35a02de2f3bd (diff) | |
download | aur-fe039ad8291d9726947f24ac0c89a0104ea69eb0.tar.gz |
Release build fix
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | remove-nested-verifier-test.patch | 12 |
3 files changed, 3 insertions, 22 deletions
@@ -10,9 +10,7 @@ pkgbase = flatbuffers-git makedepends = python-setuptools depends = gcc-libs source = git+https://github.com/google/flatbuffers - source = remove-nested-verifier-test.patch sha256sums = SKIP - sha256sums = 62993fce5b8fe683fc5ea61c60376b385764afc28e95cfb2094494df184d61ba pkgname = flatbuffers-git provides = flatbuffers=2.0.6.r118.g987aa5b5 @@ -12,11 +12,8 @@ url='https://google.github.io/flatbuffers/' license=(Apache) depends=(gcc-libs) makedepends=(cmake git python-setuptools) -source=(git+https://github.com/google/flatbuffers remove-nested-verifier-test.patch) -sha256sums=( - 'SKIP' - '62993fce5b8fe683fc5ea61c60376b385764afc28e95cfb2094494df184d61ba' -) +source=(git+https://github.com/google/flatbuffers) +sha256sums=('SKIP') pkgver() { cd ${srcdir}/${_gitbase} @@ -25,14 +22,12 @@ pkgver() { prepare() { sed -i 's/-Werror=/-W/g;s/-Werror//g' $_gitbase/CMakeLists.txt - - # patch necessary for https://github.com/google/flatbuffers/issues/7336 - patch -p1 --input="${srcdir}/remove-nested-verifier-test.patch" --directory="$_gitbase" } build() { cd $_gitbase cmake . \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DFLATBUFFERS_BUILD_FLATLIB=OFF \ diff --git a/remove-nested-verifier-test.patch b/remove-nested-verifier-test.patch deleted file mode 100644 index 28b323fcce98..000000000000 --- a/remove-nested-verifier-test.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/tests/test.cpp b/tests/test.cpp ---- a/tests/test.cpp -+++ b/tests/test.cpp -@@ -4424,8 +4424,8 @@ int FlatBufferTests() { - FixedLengthArraySpanTest(); - StructUnionTest(); - WarningsAsErrorsTest(); -- NestedVerifierTest(); -+ // NestedVerifierTest(); - PrivateAnnotationsLeaks(); - return 0; - } |