mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11726 from kjbracey-arm/armc6_no_static_destructors
Disable C++ static destructors in ARMC6 compilerpull/12712/head
commit
83926138aa
|
@ -24,7 +24,7 @@
|
|||
"-DMBED_DEBUG", "-DMBED_TRAP_ERRORS_ENABLED=1"],
|
||||
"asm": [],
|
||||
"c": ["-D__ASSERT_MSG", "-std=gnu11"],
|
||||
"cxx": ["-fno-rtti", "-std=gnu++14"],
|
||||
"cxx": ["-fno-rtti", "-fno-c++-static-destructors", "-std=gnu++14"],
|
||||
"ld": ["--verbose", "--remove", "--show_full_path", "--legacyalign",
|
||||
"--any_contingency", "--keep=os_cb_sections"]
|
||||
},
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"-DMBED_TRAP_ERRORS_ENABLED=1"],
|
||||
"asm": [],
|
||||
"c": ["-D__ASSERT_MSG", "-std=gnu11"],
|
||||
"cxx": ["-fno-rtti", "-std=gnu++14"],
|
||||
"cxx": ["-fno-rtti", "-fno-c++-static-destructors", "-std=gnu++14"],
|
||||
"ld": ["--show_full_path", "--legacyalign", "--any_contingency",
|
||||
"--keep=os_cb_sections"]
|
||||
},
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"-DNDEBUG"],
|
||||
"asm": [],
|
||||
"c": ["-D__ASSERT_MSG", "-std=gnu11"],
|
||||
"cxx": ["-fno-rtti", "-std=gnu++14"],
|
||||
"cxx": ["-fno-rtti", "-fno-c++-static-destructors", "-std=gnu++14"],
|
||||
"ld": ["--show_full_path", "--legacyalign", "--any_contingency",
|
||||
"--keep=os_cb_sections"]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue