Skip to content

Commit

Permalink
fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed May 13, 2024
1 parent d792eca commit 5394e02
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmake/toolchain-windows64-mingw.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,12 @@ set(CMAKE_C_FLAGS
# set CXX flags
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} ${COMPILER_BIG_OBJ_FLAG}" CACHE STRING "C++ flags")

# set CXX flags Debug (fixes #588 - .o file is too big)
set(CMAKE_CXX_FLAGS_DEBUG
"-g -Os" CACHE STRING "C++ flags Debug")

# set C flags Debug (fixes #588 - .o file is too big)
set(CMAKE_C_FLAGS_DEBUG
"-g -Os" CACHE STRING "C flags Debug")

0 comments on commit 5394e02

Please sign in to comment.