patch-interface_vcos_pthreads_CMakeLists_txt 679 B

1234567891011
  1. --- bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8.orig/interface/vcos/pthreads/CMakeLists.txt 2015-10-27 10:59:48.000000000 +0100
  2. +++ bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8/interface/vcos/pthreads/CMakeLists.txt 2015-11-16 20:22:39.353464208 +0100
  3. @@ -1,7 +1,7 @@
  4. # MSVC5 does not fully support C99, enabling declaration-after-statement
  5. # warnings allows a common MSVC5 build error to be detected in Linux builds.
  6. if (CMAKE_COMPILER_IS_GNUCC)
  7. - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wdeclaration-after-statement")
  8. + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wdeclaration-after-statement")
  9. add_definitions (-D_GNU_SOURCE)
  10. endif ()