aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2015-10-03 22:09:40 +1000
committerDean Camera <dean@fourwalledcubicle.com>2015-10-03 22:09:40 +1000
commit5d674dddfa08b890287bc91ccd1f6a6ac19703ff (patch)
tree81ae0679be7146ace47d772302b7a5c475d3e153 /LUFA/StudioIntegration
parent7a32e96f2b88db831851a60dc442fc61836cacd6 (diff)
downloadlufa-5d674dddfa08b890287bc91ccd1f6a6ac19703ff.tar.gz
lufa-5d674dddfa08b890287bc91ccd1f6a6ac19703ff.tar.bz2
lufa-5d674dddfa08b890287bc91ccd1f6a6ac19703ff.zip
Fix Atmel Studio projects not enabling linker relaxations correctly.
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r--LUFA/StudioIntegration/lufa_toolchain.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/StudioIntegration/lufa_toolchain.xml b/LUFA/StudioIntegration/lufa_toolchain.xml
index 34725bffb..ddd758f6d 100644
--- a/LUFA/StudioIntegration/lufa_toolchain.xml
+++ b/LUFA/StudioIntegration/lufa_toolchain.xml
@@ -23,6 +23,7 @@
<toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -fno-jump-tables" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.linker.optimization.RelaxBranches" value="True" toolchain="avrgcc"/>
+ <toolchain-config name="avrgcc.linker.miscellaneous.LinkerFlags" value="-Wl,--relax" toolchain="avrgcc"/>
</module>
</select-by-device>
@@ -38,6 +39,7 @@
<toolchain-config name="avr32gcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -mno-cond-exec-before-reload" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.linker.optimization.RelaxBranches" value="True" toolchain="avr32gcc"/>
+ <toolchain-config name="avr32gcc.linker.miscellaneous.LinkerFlags" value="-Wl,--relax" toolchain="avr32gcc"/>
</module>
</asf>
</lufa>