summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Arthaud2017-07-14 08:14:26 -0700
committerMaxime Arthaud2017-07-14 08:14:26 -0700
commit77ea84df7256216014f74d56a4eae4c2d49d09d5 (patch)
tree0808b494de6e15754db216cee1f0c410a1ed44dd
parentf721869c4e232033631091a8c177778701d38631 (diff)
downloadaur-77ea84df7256216014f74d56a4eae4c2d49d09d5.tar.gz
Compile with -fPIC
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8f7567eea7fb..c6b03fbe2908 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Maxime Arthaud <maxime@arthaud.me>
pkgname=zxing-cpp-git
-pkgver=r35.5ce91bb
+pkgver=r55.6b3cbe0
pkgrel=1
pkgdesc="A command-line tool to decode QRCode"
arch=('any')
@@ -22,7 +22,8 @@ build() {
mkdir build
cd build
cmake -G "Unix Makefiles" \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_CXX_FLAGS=-fPIC \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make