Skip to content

Commit 9db7000

Browse files
committed
Build against MacOSX SDK 10.9
Crash have been reported if app launcher is build with the latest SDK. See github.com/arduino/Arduino/pull/10234
1 parent ea27824 commit 9db7000

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,13 @@ questions.
8383
<arg value="-F"/>
8484
<arg value="${javahome}/../.."/>
8585
<arg value="-isysroot"/>
86-
<arg value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"/>
87-
<arg value="-mmacosx-version-min=10.7"/>
86+
87+
<!-- WARNING: Do NOT use SDK with version superior to 10.9 because side effects have been
88+
reported in applications using OpenGL, in particular AWT based java apps crashing
89+
when using multi-monitor setups. See https://github.com/arduino/Arduino/pull/10234 and
90+
related issues for details. -->
91+
<arg value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"/>
92+
8893
<arg value="appbundler/native/main.m"/>
8994
</exec>
9095
</target>

0 commit comments

Comments
 (0)