mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[cmake]: Add -save-temps for macro debug
Add -save-temps to save intermediate file for macro debug. Disable now for osal.a compile error with this option. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I3d3155666f98f0471313c7dec638fb2d6a6bf093
This commit is contained in:
parent
3f0e7c8cc5
commit
6387e27bea
1 changed files with 2 additions and 0 deletions
|
|
@ -171,6 +171,8 @@ if(GCC)
|
|||
add_definitions(-fPIC)
|
||||
# disable exception for C++
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-rtti")
|
||||
# save intermediate files
|
||||
# add_definitions(-save-temps)
|
||||
|
||||
# for libary linking
|
||||
set(BEGIN_WHOLE_ARCHIVE -Wl,--whole-archive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue