Browse Source

Checking if g++ build works like this

Former-commit-id: 84f107e9715fb8b8c0dce05312e815090112a29f
Sebastian Koch 9 years ago
parent
commit
e91d3ed76b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      python/CMakeLists.txt

+ 1 - 1
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()