Browse Source

Add -z relro -z now to LDFLAGS. More secure

Serj Kalichev 3 years ago
parent
commit
d30dc9816d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Makefile.am

+ 1 - 0
Makefile.am

@@ -11,6 +11,7 @@ DEBUG_CFLAGS = -DDEBUG
 endif
 
 AM_CFLAGS = -Wall $(DEBUG_CFLAGS)
+AM_LDFLAGS = -z relro -z now
 
 bin_PROGRAMS =
 lib_LTLIBRARIES =