Skip to content

Commit

Permalink
Workaround for MacOSX gatekeeper (OSX 10.10.4)
Browse files Browse the repository at this point in the history
It seems that gatekeeper now applies tighter checks on
libraries dinamically linked from executables included
in a package.

This is a workaround until a proper solution is found.

Fixes arduino#3468
  • Loading branch information
cmaglie committed Jul 20, 2015
1 parent df0cdd0 commit d6c5344
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,19 @@
<param name="unpack_target" value="untar"/>
<param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-i386-apple-darwin11.tar.bz2"/>
<param name="gcc_version" value="4.8.1-arduino5"/>
<param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-i386-apple-darwin11.tar.bz2"/>
<param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-r2-i386-apple-darwin11.tar.bz2"/>
<param name="avrdude_version" value="6.0.1-arduino5"/>
</antcall>

<chmod perm="+x">
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/*"/>
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/libexec/gcc/avr/4.8.1/*"/>
</chmod>

<!-- macosx gatekeeper workaround. See https://github.com/arduino/Arduino/issues/3468 -->
<chmod perm="-x">
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/avrdude_bin" />
</chmod>
</target>

<target name="macosx-old-run" depends="macosx-old-build" description="Run Mac OS X version">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
52afce6cbe1cc1021bca1234cf25b298350f97dd

0 comments on commit d6c5344

Please sign in to comment.