From b4c738eb62290fb8f8b931a1ca991b8bf0809f86 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Mon, 1 Jul 2019 16:44:07 -0600 Subject: [PATCH] Allow multiple definition in ld_so to avoid linking issues --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 55de58650..0f07367ca 100644 --- a/Makefile +++ b/Makefile @@ -158,7 +158,7 @@ $(BUILD)/release/ld_so.o: $(SRC) touch $@ $(BUILD)/release/ld_so: $(BUILD)/release/ld_so.o $(BUILD)/release/crti.o $(BUILD)/release/libc.a $(BUILD)/release/crtn.o - $(LD) --gc-sections $^ -o $@ + $(LD) --allow-multiple-definition --gc-sections $^ -o $@ # Other targets -- GitLab