summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/ia64-linux-gnu4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ia64-linux-gnu b/config/ia64-linux-gnu
index 716717b..f61f70d 100644
--- a/config/ia64-linux-gnu
+++ b/config/ia64-linux-gnu
@@ -4,8 +4,8 @@
# after configure starts and defines, among other things, flags for
# the various compile modes.
-# Use Intel C compiler by default.
-if test "X$CC" = "X"; then
+# Use Intel C compiler by default (if it's available).
+if test "X$CC" = "X" && which ecc > /dev/null; then
CC=ecc
CC_BASENAME=ecc
fi