diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-16 20:38:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-16 20:38:26 +0100 |
commit | 85b92eabae5fb1557a72ad6030565a4e04068fb0 (patch) | |
tree | fbb60cff2de021555396103e1cd3331c8d56e1d8 /package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt | |
parent | 92eafa1b2b0d4a0e63e41ba4df0e8cb7a797c1f6 (diff) |
remove Werror, breaks compile with gcc 5.2.0 and -O3
Diffstat (limited to 'package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt')
-rw-r--r-- | package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt b/package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt new file mode 100644 index 000000000..34ac618fb --- /dev/null +++ b/package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt @@ -0,0 +1,11 @@ +--- bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8.orig/interface/vcos/pthreads/CMakeLists.txt 2015-10-27 10:59:48.000000000 +0100 ++++ bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8/interface/vcos/pthreads/CMakeLists.txt 2015-11-16 20:22:39.353464208 +0100 +@@ -1,7 +1,7 @@ + # MSVC5 does not fully support C99, enabling declaration-after-statement + # warnings allows a common MSVC5 build error to be detected in Linux builds. + if (CMAKE_COMPILER_IS_GNUCC) +- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wdeclaration-after-statement") ++ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wdeclaration-after-statement") + add_definitions (-D_GNU_SOURCE) + endif () + |