summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2019-12-31 14:14:29 +0900
committerDongkyun Son <dongkyun.s@samsung.com>2019-12-31 14:14:52 +0900
commit30658d751f413c215cf344a6782dba1b1d97a04c (patch)
tree2427baa0c96d2ca8259dd93f42aa6d458713ef2d
parentc58044361c8d028613469f2a10a201bd7ffd2c7e (diff)
downloademulator-yagl-30658d751f413c215cf344a6782dba1b1d97a04c.tar.gz
emulator-yagl-30658d751f413c215cf344a6782dba1b1d97a04c.tar.bz2
emulator-yagl-30658d751f413c215cf344a6782dba1b1d97a04c.zip
[Tizen 6.0] Silence build warnings for GCC 9.2 buildsubmit/tizen/20200107.112014accepted/tizen/unified/20200108.131437
Change-Id: I7aa3dfc39a9ca9748b779b4c71c57ec129e693da Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e632390..8b8c907 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -152,7 +152,7 @@ foreach (CONFIGURATION RELEASE MINSIZEREL RELWITHDEBINFO)
string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS_${CONFIGURATION} "${CMAKE_C_FLAGS_${CONFIGURATION}}")
endforeach ()
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -Wno-stringop-overflow")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")