add -Wmissing-declarations to cflags
This commit is contained in:
parent
db38b74ac6
commit
9afe120530
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
PROJECT(ubox C)
|
PROJECT(ubox C)
|
||||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
|
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
|
||||||
|
|
||||||
OPTION(BUILD_LUA "build Lua plugin" ON)
|
OPTION(BUILD_LUA "build Lua plugin" ON)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue