summaryrefslogtreecommitdiff
path: root/lib/make
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make')
-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
;;