Add -Wall -Werror build option for bluez hal 11/199011/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 1 Feb 2019 00:26:24 +0000 (09:26 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 1 Feb 2019 00:26:24 +0000 (09:26 +0900)
Change-Id: Ieb22a7a158a47fb45a468832f2fd3e878cc251c2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-oal/bluez_hal/CMakeLists.txt

index c383cd42e7566eab48f7ed55046002b603976ab9..4b960216b447ac0f85d5ade48b61c6b0af02600c 100644 (file)
@@ -69,7 +69,7 @@ ENDFOREACH(flag)
 
 SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -g ")
 
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
 
 FIND_PROGRAM(UNAME NAMES uname)