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

Antonio Rojas arojas at archlinux.org
Tue Dec 4 22:31:46 UTC 2018


    Date: Tuesday, December 4, 2018 @ 22:31:46
  Author: arojas
Revision: 341009

Restore -fPIC

Modified:
  zxing-cpp/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-04 19:47:45 UTC (rev 341008)
+++ PKGBUILD	2018-12-04 22:31:46 UTC (rev 341009)
@@ -3,8 +3,7 @@
 
 pkgname=zxing-cpp
 pkgver=1.0.0
-pkgrel=1
-_commit=5aad4744a3763d814df98a18886979893e638274
+pkgrel=2
 napkgdesc="A command-line tool to decode QRCode"
 arch=(x86_64)
 url="https://github.com/nu-book/zxing-cpp"
@@ -22,7 +21,8 @@
 build() {
   cd build
   cmake ../$pkgname-$pkgver/core \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC"
   make
 }
 


More information about the arch-commits mailing list