Merge pull request #3745 from theotherjimmy/ld-flags-once-make

Pass linker flags to the linker only once
pull/3798/head
Sam Grove 2017-02-17 09:12:40 -06:00 committed by GitHub
commit 75560f3121
1 changed files with 1 additions and 3 deletions

View File

@ -78,9 +78,7 @@ class Makefile(Exporter):
'asm_cmd': " ".join(["\'" + part + "\'" for part
in ([basename(self.toolchain.asm[0])] +
self.toolchain.asm[1:])]),
'ld_cmd': " ".join(["\'" + part + "\'" for part
in ([basename(self.toolchain.ld[0])] +
self.toolchain.ld[1:])]),
'ld_cmd': "\'" + basename(self.toolchain.ld[0]) + "\'",
'elf2bin_cmd': "\'" + basename(self.toolchain.elf2bin) + "\'",
'link_script_ext': self.toolchain.LINKER_EXT,
'link_script_option': self.LINK_SCRIPT_OPTION,