1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

Welcome: Pass -m to ld to fix building with clang/lld

This commit is contained in:
joshua stein 2020-01-30 21:58:32 -06:00 committed by Andreas Kling
parent c33cb8a289
commit b4568b1422
2 changed files with 4 additions and 1 deletions

View file

@ -9,6 +9,7 @@ LIB_DEPS = GUI Draw IPC Core
.SUFFIXES: .png
%.png.o: %.png
@echo "LINK $<"; $(LINK) --relocatable --format binary --output $@ $<
@echo "LINK $<"
$(QUIET) $(LINK) --relocatable --format binary -m elf_$(ARCH) --output $@ $<
include ../../Makefile.common