diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-22 12:47:26 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-22 12:47:37 +0200 |
commit | 78d34c3285bbdc8ba30bf07d06235f68f73346fb (patch) | |
tree | 90868ca068dc4231684cb965e68f25c459d84407 /cmake/mingw-w64.cmake | |
parent | 4e02ad6fea5f74b340c37f40bbd9fb4ec2ffbaf3 (diff) |
cmake/{linux,mingw-w64}.cmake: inline visibility hidden is redundant
With -fvisibility=hidden it's hidden anyway.
Diffstat (limited to 'cmake/mingw-w64.cmake')
-rw-r--r-- | cmake/mingw-w64.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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} ") |