summaryrefslogtreecommitdiff
path: root/package/bcm28xx-vc/patches/patch-interface_vcos_pthreads_CMakeLists_txt
blob: 34ac618fb71dc55736f879cbc81b06654c1e9b8f (plain)
1
2
3
4
5
6
7
8
9
10
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 ()