print memory usage after final linking
This commit is contained in:
parent
afdbea7625
commit
3ff8c4eb17
|
@ -101,7 +101,10 @@ set(FLAGS_PRINTF
|
|||
)
|
||||
|
||||
set(CMAKE_ASM_FLAGS "-x assembler-with-cpp")
|
||||
add_link_options(-flto)
|
||||
add_link_options(
|
||||
-flto
|
||||
-Wl,--print-memory-usage
|
||||
)
|
||||
|
||||
add_library(Printf ${SOURCES_PRINTF})
|
||||
target_compile_options(Printf PRIVATE ${FLAGS_PRINTF})
|
||||
|
|
Loading…
Reference in New Issue