Browse Source

Allow multiple definition in ld_so to avoid linking issues

Jeremy Soller 5 years ago
parent
commit
b4c738eb62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
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