From 5ec7578429d80ff492af295ae3ad006b07a89ab1 Mon Sep 17 00:00:00 2001 From: Norihiro Watanabe <norihiro.watanabe@ufz.de> Date: Tue, 4 Dec 2012 10:58:55 +0100 Subject: [PATCH] remove "-static" option for intel compiler --- scripts/cmake/CompilerSetup.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake/CompilerSetup.cmake b/scripts/cmake/CompilerSetup.cmake index faa25cc7241..aa433404e0c 100644 --- a/scripts/cmake/CompilerSetup.cmake +++ b/scripts/cmake/CompilerSetup.cmake @@ -50,7 +50,7 @@ IF (COMPILER_IS_INTEL) MESSAGE(STATUS "Set Intel release flags") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -DNDEBUG") ENDIF() - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xHOST -O3 -no-prec-div -static -DNDEBUG") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xHOST -O3 -no-prec-div -DNDEBUG") ENDIF() # COMPILER_IS_INTEL # Profiling -- GitLab