Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
finesse
finesse
Commits
387c5f1c
Commit
387c5f1c
authored
Oct 24, 2017
by
Daniel Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating SDK
parent
8da63ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
finesse.sh
finesse.sh
+9
-1
No files found.
finesse.sh
View file @
387c5f1c
...
@@ -522,7 +522,15 @@ case $TARGET in
...
@@ -522,7 +522,15 @@ case $TARGET in
# probably should allow custom minor version for build-mac
# probably should allow custom minor version for build-mac
export
MACOSX_DEPLOYMENT_TARGET
=
"10.
$OSXminor
"
export
MACOSX_DEPLOYMENT_TARGET
=
"10.
$OSXminor
"
if
[
-d
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/
]
;
then
if
[
-d
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/
]
;
then
echo
"Preparing Mac OS X 10.13 SDK build environment..."
|
tee
-a
$LOGFILE
export
OSX_SDK
=
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/"
export
OSX_CFLAGS
=
"
$NATIVE
$OPTIM_CFLAGS
-isysroot
$OSX_SDK
-arch
$CPUARCH
-mmacosx-version-min=
$MACOSX_DEPLOYMENT_TARGET
-DOSX_BUILD_VER=
$MACOSX_DEPLOYMENT_TARGET
-DMACOSX_SDK=13"
export
OSX_LDFLAGS
=
"-isysroot
$OSX_SDK
-Wl,-syslibroot,
$OSX_SDK
-arch
$CPUARCH
-mmacosx-version-min=
$MACOSX_DEPLOYMENT_TARGET
"
export
CFLAGS
=
$OSX_CFLAGS
export
CXXFLAGS
=
$OSX_CFLAGS
export
LDFLAGS
=
$OSX_LDFLAGS
elif
[
-d
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/
]
;
then
echo
"Preparing Mac OS X 10.12 SDK build environment..."
|
tee
-a
$LOGFILE
echo
"Preparing Mac OS X 10.12 SDK build environment..."
|
tee
-a
$LOGFILE
export
OSX_SDK
=
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/"
export
OSX_SDK
=
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/"
export
OSX_CFLAGS
=
"
$NATIVE
$OPTIM_CFLAGS
-isysroot
$OSX_SDK
-arch
$CPUARCH
-mmacosx-version-min=
$MACOSX_DEPLOYMENT_TARGET
-DOSX_BUILD_VER=
$MACOSX_DEPLOYMENT_TARGET
-DMACOSX_SDK=12"
export
OSX_CFLAGS
=
"
$NATIVE
$OPTIM_CFLAGS
-isysroot
$OSX_SDK
-arch
$CPUARCH
-mmacosx-version-min=
$MACOSX_DEPLOYMENT_TARGET
-DOSX_BUILD_VER=
$MACOSX_DEPLOYMENT_TARGET
-DMACOSX_SDK=12"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment