aboutsummaryrefslogtreecommitdiff
path: root/04_dynld_nostd
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-06 22:45:29 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-06 22:45:29 +0100
commit6be0d03ae89ffef23a0da0d759fbe36e90ae220a (patch)
treead92c0f14ade3948fc23a0af1a2ca1718acc6df1 /04_dynld_nostd
parentebf8d357bd09e6eef9bbe74250fea06641090998 (diff)
downloaddynld-6be0d03ae89ffef23a0da0d759fbe36e90ae220a.tar.gz
dynld-6be0d03ae89ffef23a0da0d759fbe36e90ae220a.zip
disable stack protector for simplicity of these linker studies
Diffstat (limited to '04_dynld_nostd')
-rw-r--r--04_dynld_nostd/Makefile3
1 files changed, 2 insertions, 1 deletions
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