diff --git a/configure.ac b/configure.ac index 98532a9..77bcb03 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,9 @@ AC_PROG_CC AC_PROG_CC_C99 AC_CONFIG_FILES(Makefile) +AC_SUBST([CFLAGS], [-fPIE]) +AC_SUBST([LDFLAGS], [-pie]) + PKG_CHECK_MODULES(LIBSYSTEMD, [libsystemd]) AC_OUTPUT