Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oliver Behnke
graphicsframework
Commits
bf0e7ff3
Commit
bf0e7ff3
authored
May 19, 2009
by
Oliver Bock
Browse files
Use Mac OS X 10.4 SDK for Intel build
parent
db4c74b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
bf0e7ff3
...
...
@@ -635,6 +635,19 @@ case $TARGET in
build_linux
||
failure
;;
$TARGET_MAC_INTEL
)
if
[
-d
/Developer/SDKs/MacOSX10.4u.sdk
]
;
then
echo
"Preparing Mac OS X 10.4 SDK build environment..."
|
tee
-a
$LOGFILE
# use 10.4 (Tiger) SDK because of BOINC/10.5 incompatibility (http://boinc.berkeley.edu/doxygen/api/html/QBacktrace_8h.html)
export
LDFLAGS
=
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386
$LDFLAGS
"
export
CPPFLAGS
=
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
$CPPFLAGS
"
export
CFLAGS
=
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
$CFLAGS
"
export
CXXFLAGS
=
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
$CXXFLAGS
"
export
SDKROOT
=
"/Developer/SDKs/MacOSX10.4u.sdk"
export
MACOSX_DEPLOYMENT_TARGET
=
10.4
else
echo
"Mac OS X 10.4 SDK required but missing!"
|
tee
-a
$LOGFILE
failure
fi
check_prerequisites
||
failure
prepare_generic
||
failure
build_mac
$TARGET_MAC_INTEL
||
failure
...
...
Write
Preview
Supports
Markdown
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