From 6e258377fdf4518d341a0a4b4cfe0b7e590e347f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Nov 2015 17:19:11 +0100 Subject: [PATCH] nspr: fix PIE build. --- srcpkgs/nspr/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/nspr/template b/srcpkgs/nspr/template index 5c495873008..9e4e64aa999 100644 --- a/srcpkgs/nspr/template +++ b/srcpkgs/nspr/template @@ -1,7 +1,7 @@ # Template file for 'nspr' pkgname=nspr version=4.10.10 -revision=1 +revision=2 build_style=gnu-configure build_wrksrc="nspr" makedepends="zlib-devel" @@ -13,7 +13,7 @@ distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.t checksum=343614971c30520d0fa55f4af0a72578e2d8674bb71caf7187490c3379523107 do_configure() { - CFLAGS="$XBPS_CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE" + CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE" if [ "$CROSS_BUILD" ]; then _args+=" --target=$XBPS_CROSS_TRIPLET"