diff --git a/srcpkgs/otpw/template b/srcpkgs/otpw/template index ab4fbc7e516..8d9d799bba6 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