Cherry-picking https://github.com/spack/spack/pull/41380#event-11127550396: Fix installation issue #27709: curl does not configure/build with Intel compilers spa #41380: When using Intel to build curl, add 'CFLAGS=-we147' to the configure args to fix error 'compiler does not halt on function prototype mismatch'
Description
Cherry-picking https://github.com/spack/spack/pull/41380#event-11127550396: Fix installation issue #27709: curl does not configure/build with Intel compilers spa #41380: When using Intel to build curl, add 'CFLAGS=-we147' to the configure args to fix error 'compiler does not halt on function prototype mismatch'
Issue(s) addressed
See https://github.com/spack/spack/issues/27709 and https://github.com/JCSDA/spack-stack/pull/880#issuecomment-1836347452
Dependencies
n/a
Impact
n/a
Checklist
I have made corresponding changes to the documentation