diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-08-06 01:38:28 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-08-08 01:51:51 -0700 |
commit | c8fb9b547940dcfbb3706cc8b34c93f634d41655 (patch) | |
tree | aa0ff47863af21002484d96ab4921a82a76ef668 /etc | |
parent | 683c7fbf3bff72535964afdd93a214748ff253a6 (diff) | |
download | spack-c8fb9b547940dcfbb3706cc8b34c93f634d41655.tar.gz spack-c8fb9b547940dcfbb3706cc8b34c93f634d41655.tar.bz2 spack-c8fb9b547940dcfbb3706cc8b34c93f634d41655.tar.xz spack-c8fb9b547940dcfbb3706cc8b34c93f634d41655.zip |
bugfix: cc should not add -L or -Wl,-rpath in compile-only mode
- Adding -L and -Wl,-rpath to compile-only command lines ("cc mode" or
"-c") causes clang (if not also other compilers) to emit warnings that
confuse configure systems.
- Clang will print warnings about unused command-line arguments.
- This fix ensures that -L and -Wl,-rpath are not added if the compile
line is just building an object file with -c
- This also cleans up the cc script in several places.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions