diff options
Diffstat (limited to 'gcc8.patch')
-rw-r--r-- | gcc8.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc8.patch b/gcc8.patch new file mode 100644 index 000000000000..064df51fc24c --- /dev/null +++ b/gcc8.patch @@ -0,0 +1,13 @@ +--- CMakeLists.txt 2018-06-13 08:20:55.012756800 +0200 ++++ CMakeLists.txt 2018-06-13 08:23:34.179228185 +0200 +@@ -551,8 +551,8 @@ + + IF (UNIX) + SET( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}") +- SET( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused ${CMAKE_CXX_FLAGS}") +- SET( CMAKE_C_FLAGS "-Wno-deprecated-declarations -std=gnu11 ${CMAKE_C_FLAGS}") ++ SET( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}") ++ SET( CMAKE_C_FLAGS "-Wno-deprecated-declarations -std=gnu11 -Wno-error=parentheses ${CMAKE_C_FLAGS}") + SET( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}") + ENDIF (UNIX) + IF (MINGW) |