mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11254 from jh228/patch-1
Update gcc.py for preprocessing in linker scriptpull/11455/head
commit
0e04d74c80
|
@ -247,7 +247,8 @@ class GCC(mbedToolchain):
|
|||
if mem_map:
|
||||
preproc_output = join(dirname(output), ".link_script.ld")
|
||||
cmd = (
|
||||
self.preproc + [mem_map] + self.ld[1:] + ["-o", preproc_output]
|
||||
self.preproc + [mem_map] + self.ld[1:] + ["-o", preproc_output] +
|
||||
self.get_compile_options(self.get_symbols(), [])
|
||||
)
|
||||
self.notify.cc_verbose("Preproc: %s" % ' '.join(cmd))
|
||||
self.default_cmd(cmd)
|
||||
|
|
Loading…
Reference in New Issue