From e91d3ed76b532b74bcaa62bb83990dbd4bf48eda Mon Sep 17 00:00:00 2001 From: Sebastian Koch Date: Wed, 8 Jun 2016 10:34:13 +0200 Subject: [PATCH] Checking if g++ build works like this Former-commit-id: 84f107e9715fb8b8c0dce05312e815090112a29f --- python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 3c634b9f2..bbe3037cf 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -30,7 +30,7 @@ if (UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") if (NOT ${U_CMAKE_BUILD_TYPE} MATCHES DEBUG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -flto") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") endif() endif()