summaryrefslogtreecommitdiff
path: root/user/graphite2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 20:16:28 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 20:16:28 +0000
commitfa7c3ae8f679113a3a08906c19df74b55fbb8dc2 (patch)
tree7e977f7577313fb89f6699bfee3e6002ef377980 /user/graphite2/APKBUILD
parent00996979ae47a90f86bde18eb32f03706e76d060 (diff)
downloadpackages-fa7c3ae8f679113a3a08906c19df74b55fbb8dc2.tar.gz
packages-fa7c3ae8f679113a3a08906c19df74b55fbb8dc2.tar.bz2
packages-fa7c3ae8f679113a3a08906c19df74b55fbb8dc2.tar.xz
packages-fa7c3ae8f679113a3a08906c19df74b55fbb8dc2.zip
user/graphite2: fix linking issue on 32-bit platforms
Diffstat (limited to 'user/graphite2/APKBUILD')
-rw-r--r--user/graphite2/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/graphite2/APKBUILD b/user/graphite2/APKBUILD
index cec3cf0ac..403b60522 100644
--- a/user/graphite2/APKBUILD
+++ b/user/graphite2/APKBUILD
@@ -21,6 +21,10 @@ builddir="$srcdir"/$_realname-$pkgver
build() {
cd "$builddir"
+
+ # Fix linking error on 32-bit platforms
+ sed -i -e 's/\-nodefaultlibs//g' src/CMakeLists.txt
+
mkdir build && cd build
cmake -G "Unix Makefiles" .. \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \