diff options
author | Davide Depau | 2019-09-30 01:09:22 +0200 |
---|---|---|
committer | Davide Depau | 2019-09-30 01:09:22 +0200 |
commit | 39c6a7760103b29385fa00437c11b0b5440d6f18 (patch) | |
tree | fe34ed67cca59055735a40e6a75f51f9aee96741 /PKGBUILD | |
parent | 3c78834f9a5879b232eaf818036a8db600109bc5 (diff) | |
download | aur-39c6a7760103b29385fa00437c11b0b5440d6f18.tar.gz |
Build PIC libraries
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=avro-c pkgver=1.8.2 -pkgrel=2 +pkgrel=3 pkgdesc="C bindings for Avro data serialization framework" arch=('i686' 'x86_64') depends=('jansson' 'snappy' 'xz' 'zlib') @@ -23,6 +23,8 @@ build() { cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS=-fPIC \ + -DCMAKE_CXX_FLAGS=-fPIC \ -DTHREADSAFE=true make } |