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 $<
$(LIBUTF): $(LIBUTFOBJ)
$(AR) -r -c $@ $?
$(AR) rc $@ $?
$(RANLIB) $@
$(LIBUTIL): $(LIBUTILOBJ)
$(AR) -r -c $@ $?
$(AR) rc $@ $?
$(RANLIB) $@
install: all