Blame SOURCES/libstoragemgmt-0.0.22-relro-pie.patch

f144a8
diff --git src/Makefile.am src/Makefile.am
f144a8
index 582c51b..14c8263 100644
f144a8
--- src/Makefile.am
f144a8
+++ src/Makefile.am
f144a8
@@ -12,5 +12,9 @@ libstoragemgmt_la_SOURCES=lsm_mgmt.cpp lsm_datatypes.hpp lsm_datatypes.cpp \
f144a8
 
f144a8
 DEPS = $(top_builddir)/src/libstoragemgmt.la
f144a8
 
f144a8
+
f144a8
+lsmd_LDFLAGS=-Wl,-z,relro,-z,now -pie
f144a8
+lsmd_CFLAGS=-fPIE -DPIE
f144a8
+
f144a8
 lsmd_SOURCES = lsm_daemon.c
f144a8