summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/arch.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/project/arch.mk b/project/arch.mk
index 7661734..c39b137 100644
--- a/project/arch.mk
+++ b/project/arch.mk
@@ -2,6 +2,8 @@ ifeq ($(OS),midipix)
src/env/__libc_start_main.lo: CFLAGS_SHARED += -USHARED
+SHARED_OBJS += crt/$(ARCH)/crtn.o
+
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_dlstart
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__syscall_vtbl
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__ldso_vtbl