diff --git a/Make.defaults b/Make.defaults index 2531ff6..6c28db3 100755 --- a/Make.defaults +++ b/Make.defaults @@ -220,10 +220,13 @@ ifneq ($(IS_MINGW32),) CFLAGS += -Wno-error=maybe-uninitialized -Wno-maybe-uninitialized endif -ifeq ($(V),1) -ARFLAGS := rDv +ifeq($(AR),llvm-ar) +ARFLAGS = r else -ARFLAGS := rD +ARFLAGS = rD +endif +ifeq ($(V),1) +ARFLAGS += v endif ASFLAGS += $(ARCH3264) LDFLAGS += -nostdlib