summaryrefslogtreecommitdiff
path: root/kc/defaults.mk
diff options
context:
space:
mode:
Diffstat (limited to 'kc/defaults.mk')
-rw-r--r--kc/defaults.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/kc/defaults.mk b/kc/defaults.mk
index 588b9b0..0b6c4ba 100644
--- a/kc/defaults.mk
+++ b/kc/defaults.mk
@@ -1,7 +1,7 @@
LIBDIRS += -L$(dir $(shell $(CC) -print-libgcc-file-name))
LDSCRIPT := ../kc.ld
-LDFLAGS += -z max-page-size=4096 --export-dynamic -pic --no-dynamic-linker \
- -z separate-code
+LDFLAGS += -z max-page-size=4096 --export-dynamic -pic \
+ -z separate-code -pie -Bsymbolic -shared
LOADLIBES := -lgcc