summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2020-08-23 12:32:24 -0300
committerRodrigo Bezerra2020-08-23 12:32:24 -0300
commit170e8dc42bb77b016286d2feb857a353e61b7bfe (patch)
treefc3b1537cf650451dfdc82eb5756d05c0d08ba98
parent6fc9737e8baa55e12466ce787e2e885e895b251d (diff)
downloadaur-170e8dc42bb77b016286d2feb857a353e61b7bfe.tar.gz
Adjust CFLAGS to fix building lib32-sratom
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d99d21692bd3..005e2b3ec1e8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-sord
pkgdesc = A lightweight C library for storing RDF data in memory (32-bit)
pkgver = 0.16.4
- pkgrel = 1
+ pkgrel = 2
url = https://drobilla.net/software/sord/
arch = x86_64
license = custom:ISC
diff --git a/PKGBUILD b/PKGBUILD
index 70c9795cd112..5230c5b21e17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_basename=sord
pkgname=lib32-sord
pkgver=0.16.4
-pkgrel=1
+pkgrel=2
pkgdesc="A lightweight C library for storing RDF data in memory (32-bit)"
arch=('x86_64')
url="https://drobilla.net/software/sord/"
@@ -40,6 +40,7 @@ build() {
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export CFLAGS="$(echo "$CFLAGS" | sed 's/ -fno-plt//')"
waf configure --prefix=/usr \
--libdir=/usr/lib32 \