removed -Werror because it doesn't work on GCC 3.X systems

This commit is contained in:
root
2014-12-27 17:09:10 -06:00
parent 3829011324
commit ac0a758b67

View File

@@ -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")