remove use of unknown environment variable in lib/spack/env/cc (#821)
This commit is contained in:
parent
dd84a57580
commit
d5d1e89cbd
1 changed files with 1 additions and 1 deletions
2
lib/spack/env/cc
vendored
2
lib/spack/env/cc
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue