diff options
author | Patrick Gartung <gartung@fnal.gov> | 2016-04-21 21:15:54 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-04-21 19:15:54 -0700 |
commit | d5d1e89cbdc64a072096db89c2d78e3e1ddc7700 (patch) | |
tree | a50fae93e28985bd7fd002db098486f73fa5dbc3 /lib | |
parent | dd84a575807636159d80809f59962cf799b83fd7 (diff) | |
download | spack-d5d1e89cbdc64a072096db89c2d78e3e1ddc7700.tar.gz spack-d5d1e89cbdc64a072096db89c2d78e3e1ddc7700.tar.bz2 spack-d5d1e89cbdc64a072096db89c2d78e3e1ddc7700.tar.xz spack-d5d1e89cbdc64a072096db89c2d78e3e1ddc7700.zip |
remove use of unknown environment variable in lib/spack/env/cc (#821)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/spack/env/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc index 18fd8f7bdb..cb07a2ffea 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -162,7 +162,7 @@ fi # It doesn't work with -rpath. # This variable controls whether they are added. add_rpaths=true -if [[ mode == ld && $OSTYPE == darwin* ]]; then +if [[ $mode == ld && "$SPACK_SHORT_SPEC" =~ "darwin" ]]; then for arg in "$@"; do if [[ $arg == -r ]]; then add_rpaths=false |