From 85b92eabae5fb1557a72ad6030565a4e04068fb0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 16 Nov 2015 20:38:15 +0100 Subject: remove Werror, breaks compile with gcc 5.2.0 and -O3 --- .../patches/patch-interface_vcos_pthreads_CMakeLists_txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt (limited to 'package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt') 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 () + -- cgit v1.2.3