mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
CMake: add debug info only for debug builds
This commit is contained in:
parent
aaf7f03d95
commit
930eb27ba7
@ -40,8 +40,8 @@ endif()
|
||||
|
||||
set(LWIP_COMPILER_FLAGS_GNU_CLANG
|
||||
$<$<CONFIG:Debug>:-Og>
|
||||
$<$<CONFIG:Debug>:-g>
|
||||
$<$<CONFIG:Release>:-O3>
|
||||
-g
|
||||
-Wall
|
||||
-pedantic
|
||||
-Werror
|
||||
|
Loading…
x
Reference in New Issue
Block a user