From ac0a758b6792e79f9974d45b4a2a6f05a814616e Mon Sep 17 00:00:00 2001 From: root Date: Sat, 27 Dec 2014 17:09:10 -0600 Subject: [PATCH] removed -Werror because it doesn't work on GCC 3.X systems --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index efcc3d8..40c0dbd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ project(mediafire-tools) # to feed iwyu during tests set(CMAKE_EXPORT_COMPILE_COMMANDS 1) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Werror") # the following is until we learn how to reorder the gcc arguments to correctly link on Ubuntu set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed")