Skip to content

Commit

Permalink
add stack check warnning
Browse files Browse the repository at this point in the history
  • Loading branch information
TSKangetsu committed Jul 17, 2024
1 parent 99ce4fc commit 5083b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ cmake_minimum_required(VERSION 3.10)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Os -s")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -s")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Os -s -Wstack-usage=1000")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os -s -Wstack-usage=1000")
project(SingleFlight)


Expand Down

0 comments on commit 5083b57

Please sign in to comment.