Skip to content
Snippets Groups Projects
Commit add4fdd4 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/lua-rex: build with -fPIC

parent 7959f370
No related branches found
No related tags found
No related merge requests found
# Contributor:
# Maintainer:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-rex
pkgver=2.4.0
pkgrel=1
......@@ -16,7 +15,7 @@ _builddir="$srcdir"/lrexlib-$pkgver
prepare() {
cd "$_builddir"
sed -i -e "s/^MYCFLAGS.*/MYCFLAGS = $CFLAGS/" src/defaults.mak
sed -i -e "s/^MYCFLAGS.*/MYCFLAGS = $CFLAGS -fPIC/" src/defaults.mak
sed -i -e "s/^LD .*/LD = gcc/" \
src/common.mak
}
......
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