X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=configure;h=8c6270dd89fdb355e84cc323fb564fdec5c8464e;hp=e1959dfee6c083e28b8962ed1bbf28c9e21ade3e;hb=60aa82b5b60fd78a2bc92b9849eccfc62faeb27a;hpb=0949668398f546d97b05076befb40a9cf6359da0 diff --git a/configure b/configure index e1959dfee6c..8c6270dd89f 100755 --- a/configure +++ b/configure @@ -7612,7 +7612,7 @@ if test "${llvm_cv_link_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - version_string="$(ld -v 2>&1 | head -1)" + version_string="$(${LD:-ld} -v 2>&1 | head -1)" # Check for ld64. if (echo "$version_string" | grep -q "ld64"); then