|
5 | 5 | "-fmessage-length=0", "-fno-exceptions",
|
6 | 6 | "-ffunction-sections", "-fdata-sections", "-funsigned-char",
|
7 | 7 | "-MMD", "-fno-delete-null-pointer-checks",
|
8 |
| - "-fomit-frame-pointer", "-Os", "-DNDEBUG", "-g"], |
| 8 | + "-fomit-frame-pointer", "-Os", "-flto", "-DNDEBUG", "-g"], |
9 | 9 | "asm": ["-x", "assembler-with-cpp"],
|
10 | 10 | "c": ["-std=gnu11"],
|
11 | 11 | "cxx": ["-std=gnu++14", "-fno-rtti", "-Wvla"],
|
12 | 12 | "ld": ["-Wl,--gc-sections", "-Wl,--wrap,main", "-Wl,--wrap,_malloc_r",
|
13 | 13 | "-Wl,--wrap,_free_r", "-Wl,--wrap,_realloc_r", "-Wl,--wrap,_memalign_r",
|
14 | 14 | "-Wl,--wrap,_calloc_r", "-Wl,--wrap,exit", "-Wl,--wrap,atexit",
|
15 |
| - "-Wl,-n"] |
| 15 | + "-Wl,-n", "-Os", "-flto"] |
16 | 16 | },
|
17 | 17 | "ARMC6": {
|
18 | 18 | "common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Oz",
|
|
0 commit comments