diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-04 07:15:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-06 04:21:40 +0200 |
commit | 2d4570810c861606c38330d90137d856b8862d02 (patch) | |
tree | a342a36d04cb271a36c7b738726afeb340b7183c /cmake/linux.cmake | |
parent | 90a8561b596c5e6d6c26ca24e1226fa1d7fefb88 (diff) |
cmake: update few toolchain files
cf. https://github.com/opentrack/opentrack/issues/586#issuecomment-291313687
Diffstat (limited to 'cmake/linux.cmake')
-rw-r--r-- | cmake/linux.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/linux.cmake b/cmake/linux.cmake index a1083db5..945f7e77 100644 --- a/cmake/linux.cmake +++ b/cmake/linux.cmake @@ -1,6 +1,6 @@ set(CMAKE_BUILD_TYPE_INIT RELEASE) -set(CMAKE_CXX_FLAGS "-std=c++11 -fPIC" CACHE STRING "" FORCE) +set(CMAKE_CXX_FLAGS "-fPIC" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS "-fPIC" CACHE STRING "" FORCE) set(CMAKE_AR "gcc-ar" CACHE STRING "" FORCE) @@ -10,7 +10,7 @@ set(CMAKE_RANLIB "gcc-ranlib" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_RELEASE "-ffast-math -O3 -flto -fuse-linker-plugin -fvisibility=hidden -fPIC" CACHE STRING "" FORCE) set(CMAKE_CXX_FLAGS_RELEASE " ${CMAKE_C_FLAGS_RELEASE} " CACHE STRING "" FORCE) -set(cmake-link-common "-std=c++11") +set(cmake-link-common "") set(CMAKE_EXE_LINKER_FLAGS "${cmake-link-common}" CACHE STRING "" FORCE) set(CMAKE_SHARED_LINKER_FLAGS ${cmake-link-common} CACHE STRING "" FORCE) set(CMAKE_MODULE_LINKER_FLAGS ${cmake-link-common} CACHE STRING "" FORCE) |