From 18f97b5e34b004d5fee3e44f820613bd4ffbde87 Mon Sep 17 00:00:00 2001 From: "Seechan, Kim" Date: Fri, 17 Jan 2020 13:16:48 +0900 Subject: [PATCH] [Tizen 6.0] Enable build with GCC 9.2 Change-Id: Id9b74fd87a685e3855254f05d3146e5881ad95c1 --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 88f86e0..3315dcd 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -12,7 +12,7 @@ MESSAGE(">>> current directory: ${CMAKE_CURRENT_SOURCE_DIR}") MESSAGE(">>> Build type: ${CMAKE_BUILD_TYPE}") SET(VISIBILITY "-DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"") -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VISIBILITY} -fvisibility=hidden -Wformat-truncation ") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VISIBILITY} -fvisibility=hidden -Wno-format-truncation") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections -fPIE") ########################################################## -- 2.7.4