summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2018-03-01 13:45:50 +0100
committerMoritz Lipp2018-03-01 13:45:50 +0100
commit549770fe6ee3a491c2f00bf3480bfd2b00733628 (patch)
treeb5c5b4e9e83ce9758675750189e61879d2ab246a
parentc72b2ada2a6dbc8a21c37c84f37a082438a684b6 (diff)
downloadaur-549770fe6ee3a491c2f00bf3480bfd2b00733628.tar.gz
Enable position independent code
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 439ca4ccb4d..9065384836f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Oct 22 08:46:25 UTC 2017
+# Thu Mar 1 12:45:25 UTC 2018
pkgbase = libsignal-protocol-c
pkgdesc = Signal Protocol C Library
pkgver = 2.3.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/WhisperSystems/libsignal-protocol-c
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ba17a5bbf37..f7efc865499 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libsignal-protocol-c
pkgver=2.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="Signal Protocol C Library"
arch=('i686' 'x86_64')
url="https://github.com/WhisperSystems/libsignal-protocol-c"
@@ -25,6 +25,7 @@ build() {
mkdir -p build && cd build
cmake \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=True \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=0 \
@@ -39,6 +40,7 @@ check() {
# Build with tests
cmake \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=True \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=1 \