1.1 --- a/CMakeLists.txt Sun Aug 17 13:11:55 2014 -0700
1.2 +++ b/CMakeLists.txt Sun Aug 17 13:15:09 2014 -0700
1.3 @@ -331,11 +331,15 @@
1.4
1.5 check_c_compiler_flag(-Wall HAVE_GCC_WALL)
1.6 if(HAVE_GCC_WALL)
1.7 + list(APPEND EXTRA_CFLAGS "-Wall")
1.8 if(HAIKU)
1.9 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-multichar")
1.10 endif()
1.11 endif()
1.12 - #check_c_compiler_flag(-Wshadow HAVE_GCC_WSHADOW)
1.13 + check_c_compiler_flag(-Wshadow HAVE_GCC_WSHADOW)
1.14 + if(HAVE_GCC_WSHADOW)
1.15 + list(APPEND EXTRA_CFLAGS "-Wshadow")
1.16 + endif()
1.17 endif()
1.18
1.19 if(ASSEMBLY)