summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-05-09 12:56:07 +0200
committerFelix Fietkau <nbd@nbd.name>2017-05-09 12:56:07 +0200
commite6ebe0bfcdb7df25f1d96d367e8c0ad49b1642e3 (patch)
tree3826de517e050f3f62068df975486b4e000a19fd
parent08d8f476b6aa0d701b20cda5f706db853ade1911 (diff)
build: disable unknown warning option error in clang
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ecdb946..696412b 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-format-truncation)
+ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unknown-warning-option -Wno-format-truncation)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")