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