GCC: Enable link-time optimizer for develop profile

pull/11856/head
Filip Jagodzinski 2019-11-19 16:39:01 +01:00
parent a5240da3b4
commit 516153e033
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"-fmessage-length=0", "-fno-exceptions",
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
"-MMD",
"-fomit-frame-pointer", "-Os", "-g", "-DMBED_TRAP_ERRORS_ENABLED=1"],
"-fomit-frame-pointer", "-Os", "-flto", "-g", "-DMBED_TRAP_ERRORS_ENABLED=1"],
"asm": ["-c", "-x", "assembler-with-cpp"],
"c": ["-c", "-std=gnu11"],
"cxx": ["-c", "-std=gnu++14", "-fno-rtti", "-Wvla"],