Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Force mac build to macos 10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Nov 6, 2017
1 parent 31bd600 commit 222633a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ endif

ifeq ($(osname), mac)
cflags=-g -Wall -Wextra -Wno-deprecated -Wno-unused-parameter -Wunreachable-code -DLUA_USE_MACOSX \
-mmacosx-version-min=10.11 \
-mmacosx-version-min=10.9 \
$(pococflags) $(opensslcflags) \
-I$(GTEST_ROOT)/include \
-I$(GTEST_ROOT) \
Expand Down Expand Up @@ -238,7 +238,7 @@ app: lib ui

ifeq ($(osname), mac)
lib:
xcodebuild -sdk macosx10.11 -project src/lib/osx/TogglDesktopLibrary.xcodeproj
xcodebuild -sdk macosx10.9 -project src/lib/osx/TogglDesktopLibrary.xcodeproj
endif

ifeq ($(osname), linux)
Expand Down Expand Up @@ -267,7 +267,7 @@ endif

ifeq ($(osname), mac)
ui:
xcodebuild -sdk macosx10.11 -project src/ui/osx/TogglDesktop/TogglDesktop.xcodeproj && \
xcodebuild -sdk macosx10.9 -project src/ui/osx/TogglDesktop/TogglDesktop.xcodeproj && \
!(otool -L $(executable) | grep "Users" && echo "Executable should not contain hardcoded paths!")
endif

Expand Down

0 comments on commit 222633a

Please sign in to comment.