From 2d51709525a6e591de5b7aafe96802f436d55ac9 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Sun, 7 Jan 2024 00:44:36 -0500 Subject: [PATCH] Remove -force_cpusubtype_ALL flag This flag is no longer supported as of Xcode 15 and will cause build to fail. This flag is only relevant when building for PowerPC. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e7dc6e3..a5bc8bf 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ icalBuddy: $(SOURCE_FILES) icalBuddy.m @echo @echo ---- Compiling main app: @echo ====================================== - $(COMPILER) $(ARG_DEBUG) -O3 $(CC_WARN_OPTS) -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch x86_64 -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m $(SOURCE_FILES) + $(COMPILER) $(ARG_DEBUG) -O3 $(CC_WARN_OPTS) -std=c99 -mmacosx-version-min=10.5 -arch x86_64 -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m $(SOURCE_FILES) @@ -54,7 +54,7 @@ testIcalBuddy: $(SOURCE_FILES) icalBuddy.m calendarStoreMock/*.m @echo @echo ---- Compiling TEST version of main app: @echo ====================================== - $(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch x86_64 -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m calendarStoreMock/*.m $(SOURCE_FILES) + $(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -mmacosx-version-min=10.5 -arch x86_64 -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m calendarStoreMock/*.m $(SOURCE_FILES) @@ -81,7 +81,7 @@ testRunner: $(SOURCE_FILES) @echo @echo ---- Compiling test runner: @echo ====================================== - $(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch x86_64 -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ testRunner.m $(SOURCE_FILES) calendarStoreMock/*.m tests/unit/*.m + $(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -mmacosx-version-min=10.5 -arch x86_64 -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ testRunner.m $(SOURCE_FILES) calendarStoreMock/*.m tests/unit/*.m