Merge pull request #11726 from kjbracey-arm/armc6_no_static_destructors

Disable C++ static destructors in ARMC6 compiler
pull/12712/head
Anna Bridge 2020-03-27 14:14:00 +00:00 committed by GitHub
commit 83926138aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"]
},

View File

@ -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"]
},

View File

@ -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"]
},