enable more linker sanity checks

This commit is contained in:
Daniel Micay 2018-09-02 02:27:49 -04:00
parent 39e81bd486
commit 2dd2471b4a

View File

@ -1,6 +1,6 @@
CPPFLAGS := -D_GNU_SOURCE
CFLAGS := -std=c11 -Wall -Wextra -O2 -flto -fPIC -fvisibility=hidden -fno-plt
LDFLAGS := -Wl,-z,defs,-z,relro,-z,now
LDFLAGS := -Wl,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text
OBJECTS := chacha.o malloc.o memory.o pages.o random.o util.o
hardened_malloc.so: $(OBJECTS)