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

Antonio Rojas arojas at archlinux.org
Fri Jul 20 19:15:04 UTC 2018


    Date: Friday, July 20, 2018 @ 19:15:03
  Author: arojas
Revision: 329124

-fPIC

Modified:
  zxing-cpp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-20 19:11:46 UTC (rev 329123)
+++ PKGBUILD	2018-07-20 19:15:03 UTC (rev 329124)
@@ -3,7 +3,7 @@
 
 pkgname=zxing-cpp
 pkgver=git20180320
-pkgrel=1
+pkgrel=2
 _commit=5aad4744a3763d814df98a18886979893e638274
 pkgdesc="A command-line tool to decode QRCode"
 arch=(x86_64)
@@ -22,7 +22,8 @@
 build() {
   cd build
   cmake ../$pkgname \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC"
   make
 }
 



More information about the arch-commits mailing list