Ports/chester: Enable -Werror

We no longer emit compiler warnings on deprecated/unsafe functions like
strcpy, so building more ports with -Werror is possible.
This commit is contained in:
Daniel Bertalan 2021-12-23 09:32:46 +01:00 committed by Ali Mohammad Pur
parent 9418d4bf25
commit ff4787ad2d
Notes: sideshowbarker 2024-07-17 22:13:54 +09:00

View file

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a68cf88..c541385 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ endif ()
if (MSVC)
add_compile_options(/WX /wd4996)
else()
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
endif()
add_subdirectory(src/lib)