Merge branch 'develop' into features/cflags
This commit is contained in:
2
lib/spack/env/cc
vendored
2
lib/spack/env/cc
vendored
@@ -166,7 +166,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
|
||||
|
Reference in New Issue
Block a user