Skip to content

Commit

Permalink
[Fix] build: Makefile: macOS: Assume cross-compiling when specifying …
Browse files Browse the repository at this point in the history
…ARCH=.

[Fix] build: Makefile: macOS: Fix copy-paste-error.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@20259 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Mar 7, 2024
1 parent ed5a851 commit a26a94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/make/config-macos.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ MPT_COMPILER_NOGCSECTIONS=1
# 10.13 ..
ifeq ($(MACOSX_VERSION_MIN),)
else
MPT_OS_MACOSX_OR_IOS
CFLAGS += -mmacosx-version-min=$(MACOSX_VERSION_MIN)
CXXFLAGS += -mmacosx-version-min=$(MACOSX_VERSION_MIN)
LDFLAGS += -mmacosx-version-min=$(MACOSX_VERSION_MIN)
Expand All @@ -19,6 +18,7 @@ endif
# arm64/x86_64/i386
ifeq ($(ARCH),)
else
IS_CROSS=1
CFLAGS += -arch $(ARCH)
CXXFLAGS += -arch $(ARCH)
LDFLAGS += -arch $(ARCH)
Expand Down

0 comments on commit a26a94a

Please sign in to comment.