Add -fno-omit-frame-pointer
This commit is contained in:
@@ -21,8 +21,14 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
"MinSizeRel" "RelWithDebInfo")
|
||||
endif()
|
||||
|
||||
add_compile_options(-Werror=switch-enum -Wswitch-enum -Wunused-variable -fPIC
|
||||
-fdata-sections -ffunction-sections)
|
||||
add_compile_options(
|
||||
-Werror=switch-enum
|
||||
-Wswitch-enum
|
||||
-Wunused-variable
|
||||
-fPIC
|
||||
-fdata-sections
|
||||
-ffunction-sections
|
||||
-fno-omit-frame-pointer)
|
||||
|
||||
add_subdirectory(third_party)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user