updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / veracity / cmake.patch
blobc15e4bc5226ffeaea0c92cc70409e9690f68ebdc
1 diff -u org/common-CMakeLists.txt new/common-CMakeLists.txt
2 --- org/common-CMakeLists.txt 2012-01-03 11:55:07.840484263 -0500
3 +++ new/common-CMakeLists.txt 2012-01-03 11:57:43.613810091 -0500
4 @@ -168,7 +168,7 @@
6 execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
7 OUTPUT_VARIABLE GCC_VERSION)
8 -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wdeclaration-after-statement -Werror -Wstrict-prototypes")
9 +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wdeclaration-after-statement -Wstrict-prototypes -Wno-unused")
11 # the apple_unicode code violates the strict-aliasing rules
12 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-strict-aliasing")