summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/linux.cmake2
-rw-r--r--cmake/mingw-w64.cmake2
2 files changed, 2 insertions, 2 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} ")