make sure RELRO is enabled on every toolchain

pull/50/head
Daniel Micay 2018-08-28 11:44:23 -04:00
parent e72674e358
commit 0e2bc8a1cf
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
CPPFLAGS := -D_GNU_SOURCE
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -pedantic
LDFLAGS := -Wl,--as-needed,-z,defs
LDFLAGS := -Wl,--as-needed,-z,defs,-z,relro,-z,now
LDLIBS := -lpthread
OBJECTS := chacha.o malloc.o random.o util.o