[arch-commits] Commit in flatbuffers/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Jun 6 13:52:28 UTC 2018


    Date: Wednesday, June 6, 2018 @ 13:52:26
  Author: eschwartz
Revision: 341153

upgpkg: flatbuffers 1.9.0-2

remove cmake config referencing nonexistent static libs

Modified:
  flatbuffers/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-06 12:45:17 UTC (rev 341152)
+++ PKGBUILD	2018-06-06 13:52:26 UTC (rev 341153)
@@ -3,7 +3,7 @@
 
 pkgname=flatbuffers
 pkgver=1.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc='An efficient cross platform serialization library for C++, with support for Java, C# and Go'
 arch=(x86_64)
 url='http://google.github.io/flatbuffers/'
@@ -15,6 +15,7 @@
 
 prepare() {
   mkdir -p build
+  sed -i 's/-Werror=/-W/g;s/-Werror//g' $pkgname-$pkgver/CMakeLists.txt
 }
 
 build() {
@@ -22,6 +23,7 @@
   cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
+    -DFLATBUFFERS_BUILD_FLATLIB=OFF \
     -DFLATBUFFERS_BUILD_SHAREDLIB=ON
   make
 }



More information about the arch-commits mailing list