urbanterror: fix PIE

See #4572
This commit is contained in:
Juergen Buchmueller 2016-09-11 14:47:40 +02:00
parent 7f2ca9bbbd
commit ba4df1e8bd
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'urbanterror'
pkgname=urbanterror
version=4.2.023
revision=3
revision=4
wrksrc="ioq3-for-UrbanTerror-4-release-${version}"
makedepends="SDL-devel libopenal-devel libcurl-devel libvorbis-devel"
depends="urbanterror-data>=${version}"
@ -14,7 +14,7 @@ checksum=17c79f4ed1adc0859a20f0b19ab75f04e1e7ff518c882b5cd68199b44acff90f
nocross=yes
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" \
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -ldl -lm" \
USE_OPENAL=yes USE_OPENAL_DLOPEN=0 \
USE_CURL=1 USE_CURL_DLOPEN=0 \
USE_CODEC_VORBIS=1 DEFAULT_BASEDIR="/usr/share/${pkgname}" \