summaryrefslogtreecommitdiff
path: root/user/graphite2
diff options
context:
space:
mode:
Diffstat (limited to 'user/graphite2')
-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}" \