From 6be0d03ae89ffef23a0da0d759fbe36e90ae220a Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Fri, 6 Jan 2023 22:45:29 +0100 Subject: disable stack protector for simplicity of these linker studies --- 04_dynld_nostd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '04_dynld_nostd') diff --git a/04_dynld_nostd/Makefile b/04_dynld_nostd/Makefile index f953e94..e3260d4 100644 --- a/04_dynld_nostd/Makefile +++ b/04_dynld_nostd/Makefile @@ -2,7 +2,7 @@ COMMON_CFLAGS := -g -O0 -Wall -Wextra \ -I../lib/include \ - -nostartfiles -nodefaultlibs + -nostartfiles -nodefaultlibs -fno-stack-protector run: main ./$< @@ -61,3 +61,4 @@ dynld.so: dynld.S dynld.c ../lib/libcommon.a clean: rm -f main libgreet.so rm -f dynld.so + make -C ../lib clean -- cgit v1.2.3