diff options
author | b3niup | 2018-06-13 08:56:25 +0200 |
---|---|---|
committer | b3niup | 2018-06-13 08:56:25 +0200 |
commit | f883ece237d955120c000bbb1a8e3228f7e6724c (patch) | |
tree | 857d9cce15d44b6ee1884e3196aa24888c0524de /gcc8.patch | |
parent | f177eb21667fe809000014922f65d666a9cd854d (diff) | |
download | aur-f883ece237d955120c000bbb1a8e3228f7e6724c.tar.gz |
Add workaround for gtk warnings with gcc 8.0 and cosmetic changes.
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) |