Skip to content
Snippets Groups Projects
Commit 1f9ffb9c authored by Xenhat Hex's avatar Xenhat Hex Committed by Xenny Heartsong
Browse files

fix typo in gcc compiler flags

parent 1339287b
Branches xenhat/cxx_debug_flags_typo
No related tags found
No related merge requests found
......@@ -273,9 +273,9 @@ if (LINUX)
if (USE_ASAN OR USE_LEAKSAN OR USE_UBSAN OR USE_THDSAN)
if (HAS_DEBUG_OPTIMIZATION)
set(CMAKE_CXX_FLAGS_RELEASE "-Og -fno-omit-frame-pointers ${CMAKE_CXX_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_RELEASE "-Og -fno-omit-frame-pointer ${CMAKE_CXX_FLAGS_RELEASE}")
else()
set(CMAKE_CXX_FLAGS_RELEASE "-O0 -fno-omit-frame-pointers ${CMAKE_CXX_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_RELEASE "-O0 -fno-omit-frame-pointer ${CMAKE_CXX_FLAGS_RELEASE}")
endif()
else ()
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -ffast-math ${CMAKE_CXX_FLAGS_RELEASE}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment