diff --git a/devicemodel/Makefile b/devicemodel/Makefile index bb7cf31a7..cb0617e09 100644 --- a/devicemodel/Makefile +++ b/devicemodel/Makefile @@ -40,6 +40,7 @@ endif endif LDFLAGS += -Wl,-z,noexecstack +LDFLAGS += -Wl,-z,relro,-z,now LIBS = -lrt LIBS += -lpthread