mirror of https://github.com/thesofproject/sof.git
cmake: drop '3' from -Wimplicit-fallthrough=3, it's the default value
From the gcc documentation: '-Wimplicit-fallthrough' '-Wimplicit-fallthrough' is the same as '-Wimplicit-fallthrough=3' and '-Wno-implicit-fallthrough' is the same as '-Wimplicit-fallthrough=0'. clang supports only the number-less option. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
0c66aa9122
commit
ecb921227e
|
@ -25,7 +25,7 @@ add_executable(rimage
|
|||
)
|
||||
|
||||
target_compile_options(rimage PRIVATE
|
||||
-Wall -Werror -Wl,-EL -Wmissing-prototypes -Wimplicit-fallthrough=3
|
||||
-Wall -Werror -Wl,-EL -Wmissing-prototypes -Wimplicit-fallthrough
|
||||
)
|
||||
|
||||
target_link_libraries(rimage PRIVATE "-lcrypto")
|
||||
|
|
Loading…
Reference in New Issue