From 2dd2471b4a8db4cff7a7e28988259b18f94e329d Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 2 Sep 2018 02:27:49 -0400 Subject: [PATCH] enable more linker sanity checks --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 84af804..3ba6cd1 100644 --- a/Makefile +++ b/Makefile @@ -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)