Skip to content
  • Sponsor arduino/Arduino

  • Notifications You must be signed in to change notification settings
  • Fork 7k

Commit d6c5344

Browse files
committedJul 20, 2015
Workaround for MacOSX gatekeeper (OSX 10.10.4)
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 #3468
1 parent df0cdd0 commit d6c5344

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎build/build.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,19 @@
409409
<param name="unpack_target" value="untar"/>
410410
<param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-i386-apple-darwin11.tar.bz2"/>
411411
<param name="gcc_version" value="4.8.1-arduino5"/>
412-
<param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-i386-apple-darwin11.tar.bz2"/>
412+
<param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-r2-i386-apple-darwin11.tar.bz2"/>
413413
<param name="avrdude_version" value="6.0.1-arduino5"/>
414414
</antcall>
415415

416416
<chmod perm="+x">
417417
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/*"/>
418418
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/libexec/gcc/avr/4.8.1/*"/>
419419
</chmod>
420+
421+
<!-- macosx gatekeeper workaround. See https://github.com/arduino/Arduino/issues/3468 -->
422+
<chmod perm="-x">
423+
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/avrdude_bin" />
424+
</chmod>
420425
</target>
421426

422427
<target name="macosx-old-run" depends="macosx-old-build" description="Run Mac OS X version">
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
52afce6cbe1cc1021bca1234cf25b298350f97dd

0 commit comments

Comments
 (0)