support llvm-ar

llvm-ar doesn't understand flags prefixed with dashes.
This commit is contained in:
Eon S. Jeon 2015-02-03 13:22:04 +09:00 committed by sin
parent ff0347e391
commit 6b93b14fba

View File

@ -156,11 +156,11 @@ $(OBJ): $(HDR) config.mk
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
$(LIBUTF): $(LIBUTFOBJ) $(LIBUTF): $(LIBUTFOBJ)
$(AR) -r -c $@ $? $(AR) rc $@ $?
$(RANLIB) $@ $(RANLIB) $@
$(LIBUTIL): $(LIBUTILOBJ) $(LIBUTIL): $(LIBUTILOBJ)
$(AR) -r -c $@ $? $(AR) rc $@ $?
$(RANLIB) $@ $(RANLIB) $@
install: all install: all