diff options
author | Maxime Arthaud | 2017-07-14 08:14:26 -0700 |
---|---|---|
committer | Maxime Arthaud | 2017-07-14 08:14:26 -0700 |
commit | 77ea84df7256216014f74d56a4eae4c2d49d09d5 (patch) | |
tree | 0808b494de6e15754db216cee1f0c410a1ed44dd | |
parent | f721869c4e232033631091a8c177778701d38631 (diff) | |
download | aur-77ea84df7256216014f74d56a4eae4c2d49d09d5.tar.gz |
Compile with -fPIC
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |