Skip to content
Snippets Groups Projects
Verified Commit fa7c3ae8 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/graphite2: fix linking issue on 32-bit platforms

parent 00996979
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,10 @@ builddir="$srcdir"/$_realname-$pkgver ...@@ -21,6 +21,10 @@ builddir="$srcdir"/$_realname-$pkgver
build() { build() {
cd "$builddir" cd "$builddir"
# Fix linking error on 32-bit platforms
sed -i -e 's/\-nodefaultlibs//g' src/CMakeLists.txt
mkdir build && cd build mkdir build && cd build
cmake -G "Unix Makefiles" .. \ cmake -G "Unix Makefiles" .. \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment