summaryrefslogtreecommitdiff
path: root/xhost/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xhost/Makefile.am')
-rw-r--r--xhost/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/xhost/Makefile.am b/xhost/Makefile.am
index fbbc0f1..74c714d 100644
--- a/xhost/Makefile.am
+++ b/xhost/Makefile.am
@@ -3,7 +3,8 @@ bin_PROGRAMS = xhost
xhost_SOURCES = xhost.c
-AM_CFLAGS = $(CWARNFLAGS) $(XHOST_CFLAGS) $(XAU_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XHOST_CFLAGS) $(XAU_CFLAGS) -fPIE
+AM_LDFLAGS = $(XAU_LDFLAGS) -pie
xhost_LDADD = $(XHOST_LIBS)
MAINTAINERCLEANFILES = ChangeLog INSTALL