Skip to content

Commit

Permalink
Fixups for AppleClang toolchain
Browse files Browse the repository at this point in the history
* llvm-ar has no 'D' option

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
  • Loading branch information
gmbr3 committed Jun 6, 2024
1 parent e273e6b commit 24b1ead
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Make.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -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 += rDv
endif
ASFLAGS += $(ARCH3264)
LDFLAGS += -nostdlib
Expand Down

0 comments on commit 24b1ead

Please sign in to comment.