22 lines
443 B
Diff
22 lines
443 B
Diff
--- lib/Makefile.am
|
|
+++ lib/Makefile.am
|
|
@@ -20,6 +20,7 @@
|
|
include gnulib.mk
|
|
|
|
AM_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS)
|
|
+AM_CFLAGS += -fpie
|
|
|
|
noinst_PROGRAMS = t-fpending
|
|
LDADD = $(noinst_LIBRARIES)
|
|
--- src/Makefile.am
|
|
+++ src/Makefile.am
|
|
@@ -105,6 +105,8 @@
|
|
|
|
su_SOURCES = su.c getdef.c
|
|
su_LDADD = $(LDADD) $(LIB_CRYPT) -lpam -lpam_misc -ldl
|
|
+su_CFLAGS = -fpie
|
|
+su_LDFLAGS = -pie
|
|
|
|
dir_LDADD += $(LIB_ACL)
|
|
ls_LDADD += $(LIB_ACL)
|