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:
Sam James
2026-07-30 21:22:07 +01:00
parent 1755863381
commit 311bcb1e85
+1 -1
View File
@@ -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)"
}