diff options
author | Justin Restivo <justin@restivo.me> | 2023-03-18 17:53:45 -0400 |
---|---|---|
committer | Justin Restivo <justin@restivo.me> | 2023-03-18 17:53:45 -0400 |
commit | 220aa8e0ac9d17de2c9f356a68be43b673d851a1 (patch) | |
tree | f224caef0ea7db62ca6c483781a622d554a0fa1f /mk | |
parent | 9ec1a3ae603c008bc135a12bcf746fdb7379e694 (diff) |
fix: build aarch64-darwin
Diffstat (limited to 'mk')
-rw-r--r-- | mk/libraries.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/libraries.mk b/mk/libraries.mk index 02e4d47f9..1bc73d7f7 100644 --- a/mk/libraries.mk +++ b/mk/libraries.mk @@ -126,7 +126,7 @@ define build-library $(1)_PATH := $$(_d)/$$($(1)_NAME).a $$($(1)_PATH): $$($(1)_OBJS) | $$(_d)/ - +$$(trace-ld) $(LD) -Ur -o $$(_d)/$$($(1)_NAME).o $$^ + $$(trace-ld) $(LD) $$(ifndef $(HOST_DARWIN),-U) -r -o $$(_d)/$$($(1)_NAME).o $$^ $$(trace-ar) $(AR) crs $$@ $$(_d)/$$($(1)_NAME).o $(1)_LDFLAGS_USE += $$($(1)_PATH) $$($(1)_LDFLAGS) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE)) |