Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jan 27, 2025
1 parent 3de0ed4 commit db36160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ else()
endif()
else()
# Probably GCC...
# Allow larger inline functions, required by tinydir
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --param max-inline-insns-single=1000")
add_definitions(-freg-struct-return -std=gnu99)
if(NOT APPLE AND NOT BEOS AND NOT HAIKU)
add_definitions(-Wshadow)
Expand Down

0 comments on commit db36160

Please sign in to comment.