From e0d9b5082427f21539ed96dab5a334716d8d5afe Mon Sep 17 00:00:00 2001 From: knarf Date: Wed, 8 Sep 2010 19:19:41 +0000 Subject: only use $intel_dir/lib/icrt.link when it exists, which it does not for newer versions of the intel compiler - only applies when the intel compiler is not used for linking git-svn-id: http://svn.cactuscode.org/flesh/trunk@4633 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/known-architectures/linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/make') diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 96dacbc6..f955a0ea 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -297,7 +297,7 @@ else # add the libpath : ${LIBDIRS="$intel_dir/lib"} # add the linker script if the linker is not Intel - if test `basename $LD` != 'icc' -a `basename $LD` != 'icpc' ; then + if test `basename $LD` != 'icc' -a `basename $LD` != 'icpc' -a -e "$intel_dir/lib/icrt.link" ; then : ${LDFLAGS="-Qy $intel_dir/lib/icrt.link"} fi ;; -- cgit v1.2.3