build: disable unknown warning option error in clang
authorFelix Fietkau <nbd@nbd.name>
Tue, 9 May 2017 10:56:07 +0000 (12:56 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 May 2017 10:56:07 +0000 (12:56 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
CMakeLists.txt

index ecdb94619626d957fbe3ec86d654581c9e0dd4d9..696412b51f451d110cdbca87c164f066cddf7da3 100644 (file)
@@ -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 "")