mirror of https://github.com/ARMmbed/mbed-os.git
Disable destruction of global C++ objects when IAR is used.
This behavior is realized by enabling the flag --no_static_destruction when the compilerin the invoked.pull/2745/head
parent
7669d7f8f5
commit
2f0b772c77
|
@ -41,7 +41,7 @@ class IAR(mbedToolchain):
|
|||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082"],
|
||||
'asm': [],
|
||||
'c': ["--vla"],
|
||||
'cxx': ["--guard_calls"],
|
||||
'cxx': ["--guard_calls", "--no_static_destruction"],
|
||||
'ld': ["--skip_dynamic_initialization", "--threaded_lib"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue