mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-03-14 11:07:01 +01:00
17 lines
275 B
Diff
17 lines
275 B
Diff
diff --git a/Makefile b/Makefile
|
|
index ec54880..b048cbd 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -170,7 +170,11 @@ lib/libc.a: $(AOBJS)
|
|
|
|
$(EMPTY_LIBS):
|
|
rm -f $@
|
|
+ifeq ($(shell uname),Darwin)
|
|
+ touch $@
|
|
+else
|
|
$(AR) rc $@
|
|
+endif
|
|
|
|
lib/%.o: obj/crt/$(ARCH)/%.o
|
|
cp $< $@
|