summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/linux
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2010-09-08 19:19:41 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2010-09-08 19:19:41 +0000
commite0d9b5082427f21539ed96dab5a334716d8d5afe (patch)
treebd38033cd47a1971fedfbbe5b7184efef92ed90b /lib/make/known-architectures/linux
parentbb3b5682d42fac3b5cf3d82bf5e061f256df736e (diff)
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
Diffstat (limited to 'lib/make/known-architectures/linux')
-rw-r--r--lib/make/known-architectures/linux2
1 files changed, 1 insertions, 1 deletions
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
;;