From 4421013290d0d888b328d9ccc365b15b07a815ec Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Mon, 1 May 2017 04:08:49 +0200 Subject: Updated cc wrapper: switch from ld to vcheck if version is requested. (#2501) --- lib/spack/env/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/env/cc b/lib/spack/env/cc index d7212bf89c..e6cca1c51f 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -133,7 +133,7 @@ esac # If any of the arguments below are present, then the mode is vcheck. # In vcheck mode, nothing is added in terms of extra search paths or # libraries. -if [[ -z $mode ]]; then +if [[ -z $mode ]] || [[ $mode == ld ]]; then for arg in "$@"; do if [[ $arg == -v || $arg == -V || $arg == --version || $arg == -dumpversion ]]; then mode=vcheck -- cgit v1.2.3-60-g2f50