View | Details | Raw Unified | Return to bug 237951
Collapse All | Expand All

(-)/usr/ports/devel/arduino-core/files/patch-hardware_arduino_sam_platform.txt (-1 / +10 lines)
Lines 1-5 Link Here
1
--- hardware/arduino/sam/platform.txt.orig	2017-03-31 15:39:17 UTC
1
--- hardware/arduino/sam/platform.txt.orig	2017-02-08 14:36:20 UTC
2
+++ hardware/arduino/sam/platform.txt
2
+++ hardware/arduino/sam/platform.txt
3
@@ -78,7 +78,7 @@ archive_file_path={build.path}/{archive_file}
4
 recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
5
 
6
 ## Combine gc-sections, archives, and objects
7
-recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -mcpu={build.mcu} -mthumb {compiler.c.elf.flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--start-group {compiler.combine.flags} {object_files} "{build.variant.path}/{build.variant_system_lib}" "{build.path}/{archive_file}" -Wl,--end-group -lm -gcc
8
+recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -mcpu={build.mcu} -mthumb {compiler.c.elf.flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--start-group {compiler.combine.flags} {object_files} "{build.variant.path}/{build.variant_system_lib}" "{build.path}/{archive_file}" -Wl,--end-group -lm
9
 
10
 ## Create output (.bin file)
11
 recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
3
@@ -96,13 +96,13 @@ recipe.size.regex=\.text\s+([0-9]+).*
12
@@ -96,13 +96,13 @@ recipe.size.regex=\.text\s+([0-9]+).*
4
 # -------------------
13
 # -------------------
5
 
14
 

Return to bug 237951