diff options
author | Todd Gamblin <gamblin2@llnl.gov> | 2021-03-31 14:47:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 21:47:38 +0000 |
commit | cf9adfd748b2171a10e2dea5ff87cab2dcd6b28a (patch) | |
tree | 16e00cc4becf6fe15170c05d12bd1cf20437d779 /.dockerignore | |
parent | a1d9a56a43fa59d5e3609047bf2037a92006dc4f (diff) | |
download | spack-cf9adfd748b2171a10e2dea5ff87cab2dcd6b28a.tar.gz spack-cf9adfd748b2171a10e2dea5ff87cab2dcd6b28a.tar.bz2 spack-cf9adfd748b2171a10e2dea5ff87cab2dcd6b28a.tar.xz spack-cf9adfd748b2171a10e2dea5ff87cab2dcd6b28a.zip |
hotfix: make ifx work with autoconf <= 2.69 in Spack (#22683)
Autoconf before 2.70 will erroneously pass ifx's -loopopt argument to the
linker, requiring all packages to use autoconf 2.70 or newer to use ifx.
This is a hotfix enabling ifx to be used in Spack. Instead of bothering
to upgrade autoconf for every package, we'll just strip out the
problematic flag if we're in `ld` mode.
- [x] Add a conditional to the `cc` wrapper to skip `-loopopt` in `ld`
mode. This can probably be generalized in the future to strip more
things (e.g., via an environment variable we can constrol from
Spack) but it's good enough for now.
- [x] Add a test ensuring that `-loopopt` arguments are stripped in link
mode, but not in compile mode.
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions