diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2018-07-05 03:13:03 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2018-07-11 22:12:15 +0200 |
commit | 908a9f4f1027fdc813dc3a0c0f6231194bc5be3f (patch) | |
tree | 0fc6e7371b760e7d6b50770128151652ac4686fa | |
parent | b06b01178e4908dfd380b95a922f407ed8274fed (diff) |
CMakeLists.txt: add -Wimplicit-fallthrough to the compiler flags
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Acked-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 696412b..50f62bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(netifd C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unknown-warning-option -Wno-format-truncation) +ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unknown-warning-option -Wno-format-truncation -Wimplicit-fallthrough) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") |