Skip to content

Commit d3b0f82

Browse files
committed
build: Fix regression introduced in PR23603
Assignments in builders/darwin.mk actually override previous assignments in hosts/default.mk. Therefore, the append operator must be used instead.
1 parent 3699786 commit d3b0f82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

depends/builders/darwin.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
2222
darwin_native_binutils=
2323
darwin_native_toolchain=
2424

25-
x86_64_darwin_CFLAGS = -arch x86_64
26-
x86_64_darwin_CXXFLAGS = $(x86_64_darwin_CFLAGS)
27-
aarch64_darwin_CFLAGS = -arch arm64
28-
aarch64_darwin_CXXFLAGS = $(aarch64_darwin_CFLAGS)
25+
x86_64_darwin_CFLAGS += -arch x86_64
26+
x86_64_darwin_CXXFLAGS += -arch x86_64
27+
aarch64_darwin_CFLAGS += -arch arm64
28+
aarch64_darwin_CXXFLAGS += -arch arm64

0 commit comments

Comments
 (0)