Remove compilation warning option 62/212362/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 20 Aug 2019 23:16:09 +0000 (08:16 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 20 Aug 2019 23:16:09 +0000 (08:16 +0900)
There is a difference in options depending on the building environment.
In some building environment, -Winline option causes a warning because
max-inline-insns-single value is not same.

Change-Id: Ic2da9f9cd40688ab2060551e990fa01e2e6612d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
unit_tests/CMakeLists.txt

index 6ede563c49f0c81132a17b5e8bdea5ffb89b57e9..81ab75a99865ecb2e1c0fd14e4b66471f78e6294 100644 (file)
@@ -17,7 +17,7 @@ pkg_check_modules(component-based_unittests REQUIRED
 FOREACH(flag ${component-based_unittests_CFLAGS})
     SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
-SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall -Werror -Winline")
+SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall -Werror")
 
 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} -std=c++11")
 SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")