summaryrefslogtreecommitdiffhomepage
path: root/cmake/linux.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-22 12:47:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-22 12:47:37 +0200
commit78d34c3285bbdc8ba30bf07d06235f68f73346fb (patch)
tree90868ca068dc4231684cb965e68f25c459d84407 /cmake/linux.cmake
parent4e02ad6fea5f74b340c37f40bbd9fb4ec2ffbaf3 (diff)
cmake/{linux,mingw-w64}.cmake: inline visibility hidden is redundant
With -fvisibility=hidden it's hidden anyway.
Diffstat (limited to 'cmake/linux.cmake')
-rw-r--r--cmake/linux.cmake2
1 files changed, 1 insertions, 1 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)