From 25af1650fd6306f004978637ab17b1bbd7d76eeb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 3 Feb 2015 11:45:58 +0100 Subject: [PATCH] otpw: must be compiled as PIC. --- srcpkgs/otpw/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/otpw/template b/srcpkgs/otpw/template index ab4fbc7e51..8d9d799bba 100644 --- a/srcpkgs/otpw/template +++ b/srcpkgs/otpw/template @@ -13,7 +13,7 @@ checksum=98aca38a61c7713677b96f24426ca7053480c0fd077d91b1e99bc9f92ccb832a do_build() { sed -i "/ld --shared/s,ld,$LD," Makefile - make CC=$CC LD=$LD CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} + make CC=$CC LD=$LD CFLAGS="$CFLAGS -fPIC" LDFLAGS="$LDFLAGS" ${makejobs} } do_install() { vinstall pam_otpw.so 755 /usr/lib/security