We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c00ec5 commit 16247afCopy full SHA for 16247af
tools/cmake/profiles/release.cmake
@@ -8,6 +8,7 @@ function(mbed_set_profile_options target mbed_toolchain)
8
if(${mbed_toolchain} STREQUAL "GCC_ARM")
9
list(APPEND profile_c_compile_options
10
"-Os"
11
+ "-g0"
12
)
13
target_compile_options(${target}
14
INTERFACE
@@ -18,6 +19,7 @@ function(mbed_set_profile_options target mbed_toolchain)
18
19
"-fno-rtti"
20
"-Wvla"
21
22
23
24
25
@@ -33,6 +35,7 @@ function(mbed_set_profile_options target mbed_toolchain)
33
35
34
36
37
list(APPEND profile_link_options
38
+ "-Wl,--compress-debug-sections=zlib"
39
"-Wl,--gc-sections"
40
"-Wl,--wrap,main"
41
"-Wl,--wrap,_malloc_r"
0 commit comments