mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Disable misleading indent warnings in gcc 6+
This commit is contained in:
parent
818790ed77
commit
802800341c
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -fno-omit-frame-pointer")
|
||||||
IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9.3)
|
IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9.3)
|
||||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wno-missing-field-initializers")
|
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wno-missing-field-initializers")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
IF(CMAKE_COMPILER_IS_GNUCC AND (
|
||||||
|
CMAKE_C_COMPILER_VERSION VERSION_EQUAL 6.0.0
|
||||||
|
OR
|
||||||
|
CMAKE_C_COMPILER_VERSION VERSION_GREATER 6))
|
||||||
|
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wno-misleading-indentation")
|
||||||
|
ENDIF()
|
||||||
IF(DEVEL_MODE EQUAL 1)
|
IF(DEVEL_MODE EQUAL 1)
|
||||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -O0 -g3")
|
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -O0 -g3")
|
||||||
# -Werror is used to force us to fix warnings early.
|
# -Werror is used to force us to fix warnings early.
|
||||||
|
|
Loading…
Reference in a new issue