diff options
| author | Hans Dedecker | 2019-04-11 19:50:12 +0000 |
|---|---|---|
| committer | Hans Dedecker | 2019-04-11 20:07:36 +0000 |
| commit | 83698f6b2a7abe0feb3da85d9991c2efe1ed5b6c (patch) | |
| tree | 0f47c5cf78db3aaba7fb896b06d9b68c1c7f5662 | |
| parent | 65a9519fb295d8f5748fc69962be1666985011fe (diff) | |
| download | odhcpd-83698f6b2a7abe0feb3da85d9991c2efe1ed5b6c.tar.gz | |
CMakeList.txt: enable extra compiler checks
Enforce additional compiler checks in order to catch
possible errors during compilation
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 46cf4c4..3c3e0ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ INCLUDE_DIRECTORIES(${ubox_include_dir} ${libnl-tiny_include_dir}) FIND_LIBRARY(libnl NAMES nl-tiny) -add_definitions(-D_GNU_SOURCE -Wall -Werror -Wextra) +add_definitions(-D_GNU_SOURCE --std=gnu99 -Wall -Werror -Wextra -Wmissing-declarations -Wno-unused-parameter) if (${EXT_CER_ID}) add_definitions(-DEXT_CER_ID=${EXT_CER_ID}) |