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