From: Sudha Bheemanna Date: Tue, 22 Mar 2016 05:39:43 +0000 (+0530) Subject: [Ag-agent] Added -Werror option in ag-agent. X-Git-Tag: accepted/tizen/mobile/20160323.074800^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=582c8baceeb82d48d82e42e7427edb490e7ebc5c;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git [Ag-agent] Added -Werror option in ag-agent. Added missing -Werror option in ag-agent cmakelist file. Change-Id: I4cd1f65eb701cd4b89daac34b0a6e8c0ddcf4206 Signed-off-by: Sudha Bheemanna --- diff --git a/ag-agent/CMakeLists.txt b/ag-agent/CMakeLists.txt index 25fe8e1..3737443 100644 --- a/ag-agent/CMakeLists.txt +++ b/ag-agent/CMakeLists.txt @@ -29,7 +29,7 @@ FOREACH(flag ${pkgs_ag_agent_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror") SET(APP_SYSCONFDIR /var/lib/bluetooth)