Skip to content

Commit

Permalink
cgi-io: cmake: enable extra compiler warnings
Browse files Browse the repository at this point in the history
Spotting issues during compilation is cheaper.

Signed-off-by: Petr Štetiar <[email protected]>
  • Loading branch information
ynezz authored and blogic committed Oct 11, 2019
1 parent fd47e99 commit 4e7411a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/cgi-io/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ FIND_LIBRARY(ubox NAMES ubox)
FIND_LIBRARY(ubus NAMES ubus)
INCLUDE_DIRECTORIES(${ubus_include_dir})

ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
ADD_DEFINITIONS(-Os -Wall -Werror -Wextra --std=gnu99 -g3)
ADD_DEFINITIONS(-Wno-unused-parameter -Wmissing-declarations)

SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")

Expand Down

0 comments on commit 4e7411a

Please sign in to comment.