mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sys-auth/pam_xdg: add -fPIC
I didn't see this on my main machine because of an unusual configuration
I have with -mno-direct-extern-access.
Bug: https://bugs.gentoo.org/908431
Fixes: 5867fd4f83
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -22,7 +22,7 @@ src_compile() {
|
||||
# Do we want to set XDG_CONFIG_DIR for prefix?
|
||||
emake \
|
||||
CFLAGS="${CFLAGS} -DNDEBUG" \
|
||||
LDFLAGS="-shared ${LDFLAGS}" \
|
||||
LDFLAGS="-shared -fPIC ${LDFLAGS}" \
|
||||
PREFIX="${EPREFIX}" \
|
||||
LIBDIR="${EPREFIX}$(getpam_mod_dir)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user