From 325a045fefb3971ab3c55267d69f2fe66da7c073 Mon Sep 17 00:00:00 2001 From: AutoBuilder Date: Thu, 25 Feb 2016 14:26:12 +0100 Subject: [PATCH] added link flags --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 714039a90a..7d585e4e9e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,12 +173,9 @@ if (SOLARIS) list(APPEND SYSTEM_LIBRARIES nsl socket) - # make the SOLARIS ld call the GNU ld - set(ENV{LD_ALTEXEC} /opt/csw/bin/gld) - # force 64bit compile - list(APPEND CMAKE_C_FLAGS -I\ /opt/csw/include\ -D_REENTRANT\ -m64) - list(APPEND CMAKE_CXX_FLAGS -I\ /opt/csw/include\ -D_REENTRANT\ -m64\ -std=gnu++11) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I /opt/csw/include -D_REENTRANT -m64") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I /opt/csw/include -D_REENTRANT -m64") endif () if (CMAKE_COMPILER_IS_GNUCC)