add -Wmissing-declarations to cflags

This commit is contained in:
Felix Fietkau 2012-10-22 20:03:53 +02:00
parent db38b74ac6
commit 9afe120530

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.6)
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)