From 9b805efc975308bfe0d96d23e4d974c741cd6d75 Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Wed, 9 Mar 2016 11:48:55 +0900 Subject: [PATCH] Enable compiler option -Werror Change-Id: Ib92b0f8583e29adb7394922cae0e1f21015d4c33 Signed-off-by: Junghoon Park --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 998882d..f3d80ba 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ SET(EXTRA_CFLAGS_common "${EXTRA_CFLAGS_common} -fvisibility=hidden") SET(EXTRA_CFLAGS_common "${EXTRA_CFLAGS_common} -fPIE") SET(EXTRA_CFLAGS_common "${EXTRA_CFLAGS_common} -fdata-sections -ffunction-sections -Wl,--gc-sections") SET(EXTRA_CFLAGS_common "${EXTRA_CFLAGS_common} -D_FILE_OFFSET_BITS=64") +SET(EXTRA_CFLAGS_common "${EXTRA_CFLAGS_common} -Werror") SET(EXTRA_CFLAGS_pool "${EXTRA_CFLAGS_pool} ${EXTRA_CFLAGS_common}") SET(EXTRA_CFLAGS_loader "${EXTRA_CFLAGS_loader} ${EXTRA_CFLAGS_common}") -- 2.7.4