make sure RELRO is enabled on every toolchain

This commit is contained in:
Daniel Micay 2018-08-28 11:44:23 -04:00
parent e72674e358
commit 0e2bc8a1cf

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