Skip to content

Commit

Permalink
-fopt-info-missed=missed.all
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst authored Dec 21, 2024
1 parent b2db28a commit 66cc8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ if ( CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_C_C
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wcast-align" )

if ( CMAKE_COMPILER_IS_GNUCXX )
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopt-info" )
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopt-info-missed=missed.all" )
endif()
if ( enable-ubsan )
set ( CMAKE_C_FLAGS "-fsanitize=address,undefined ${CMAKE_C_FLAGS}" )
Expand Down

0 comments on commit 66cc8b2

Please sign in to comment.