mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
disable padding warnings
This commit is contained in:
parent
f8e4890a63
commit
384f05e77c
1 changed files with 2 additions and 2 deletions
|
@ -271,11 +271,11 @@ unset ( WITH_PROFILING CACHE )
|
|||
if ( enable-profiling )
|
||||
set ( WITH_PROFILING 1 )
|
||||
if ( CMAKE_C_COMPILER_ID STREQUAL "Clang" )
|
||||
set ( OPT_FLAGS "-Rpass=loop-vectorize -Rpass-analysis=loop-vectorize -Wpadded" )
|
||||
set ( OPT_FLAGS "-Rpass=loop-vectorize -Rpass-analysis=loop-vectorize" )
|
||||
elseif ( CMAKE_C_COMPILER_ID STREQUAL "Intel" )
|
||||
set ( OPT_FLAGS "-qopt-report=3" )
|
||||
elseif ( CMAKE_C_COMPILER_ID STREQUAL "GNU" )
|
||||
set ( OPT_FLAGS "-Wpadded" )
|
||||
set ( OPT_FLAGS "" )
|
||||
endif ( )
|
||||
|
||||
set ( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${OPT_FLAGS}" )
|
||||
|
|
Loading…
Reference in a new issue