From 43e27e867d781a07f7cc22020fdd0e73114e8dea Mon Sep 17 00:00:00 2001 From: Haejeong Kim Date: Thu, 22 Jun 2017 08:59:40 +0900 Subject: [PATCH] Remove Werror option. build failed in x86 Change-Id: I387487bd7ddfaa1855db480e8f273344b55fbc4c --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ace20f..7ee804b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Wno-deprecated-declarations -Werror") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Wno-deprecated-declarations") SET(CMAKE_C_FLAGS_DEBUG "-O0 -g") SET(CMAKE_C_FLAGS_RELEASE "-O2 -fPIC") -- 2.7.4