Allow multiple definition in ld_so to avoid linking issues

This commit is contained in:
Jeremy Soller
2019-07-01 16:44:07 -06:00
parent 456c829da8
commit b4c738eb62
+1 -1
View File
@@ -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