diff --git a/Makefile b/Makefile index ec54880..b048cbd 100644 --- a/Makefile +++ b/Makefile @@ -170,7 +170,12 @@ lib/libc.a: $(AOBJS) $(EMPTY_LIBS): rm -f $@ +ifeq ($(shell uname),Darwin) + touch .empty.o + $(AR) rc $@ .empty.o +else $(AR) rc $@ +endif lib/%.o: obj/crt/$(ARCH)/%.o cp $< $@