diff options
-rw-r--r-- | cmake/linux.cmake | 2 | ||||
-rw-r--r-- | cmake/mingw-w64.cmake | 2 | ||||
-rw-r--r-- | gui/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmake/linux.cmake b/cmake/linux.cmake index 0951f7cc..8e61b09d 100644 --- a/cmake/linux.cmake +++ b/cmake/linux.cmake @@ -8,7 +8,7 @@ set(CMAKE_NM "gcc-nm" CACHE STRING "" FORCE) set(CMAKE_RANLIB "gcc-ranlib" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_RELEASE "-ffast-math -O3 -flto -fuse-linker-plugin -fvisibility=hidden" CACHE STRING "" FORCE) -set(CMAKE_CXX_FLAGS_RELEASE " ${CMAKE_C_FLAGS_RELEASE} -fvisibility-inlines-hidden " CACHE STRING "" FORCE) +set(CMAKE_CXX_FLAGS_RELEASE " ${CMAKE_C_FLAGS_RELEASE} " CACHE STRING "" FORCE) set(cmake-link-common "-std=c++11") set(CMAKE_EXE_LINKER_FLAGS "${cmake-link-common}" CACHE STRING "" FORCE) diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake index 74654b19..657d7bb1 100644 --- a/cmake/mingw-w64.cmake +++ b/cmake/mingw-w64.cmake @@ -35,7 +35,7 @@ set(cpu "-O3 -march=pentium4 -mtune=corei7-avx -msse -msse2 -mno-sse3 -mno-avx - set(lto "-flto -fuse-linker-plugin") set(_CFLAGS " -fvisibility=hidden ") -set(_CXXFLAGS " -fvisibility-inlines-hidden ${_CFLAGS} ") +set(_CXXFLAGS " ${_CFLAGS} ") set(_CFLAGS_RELEASE " -s ${cpu} ${fpu} ${lto} ") set(_CFLAGS_DEBUG "-g -ggdb ${cpu} ${fpu} ") set(_CXXFLAGS_RELEASE " ${_CFLAGS_RELEASE} ") diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 5e47e7f7..e014e00b 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -40,7 +40,7 @@ endif() set(c-props) set(l-props) if(CMAKE_COMPILER_IS_GNUCXX) - set(c-props "-fvisibility=hidden -fvisibility-inlines-hidden") + set(c-props "-fvisibility=hidden ") if(NOT APPLE) set(l-props "-Wl,--as-needed") endif() |