gnurobbo: fix PIE build
This commit is contained in:
parent
73b727e5ec
commit
8979f7f1dc
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gnurobbo'
|
||||
pkgname=gnurobbo
|
||||
version=0.68
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc=gnurobbo
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -16,6 +16,7 @@ checksum=6c7e9e425655da02c2442d13b5fa8f542af62d2c8f253db2fb63470c5c0c3db8
|
|||
pre_build() {
|
||||
sed -i Makefile \
|
||||
-e "s;CFLAGS\?=.*;CFLAGS=${CFLAGS};" \
|
||||
-e "s;LDFLAGS\?=.*;LDFLAGS=${LDFLAGS};" \
|
||||
-e "/LIBS=/s;\(.*\);\1 -lm;"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue