Work around Intel's -openmp
Intel had the bright idea to name their OpenMP command line flag -openmp which of course cannot be distinguished from -o penmp It seems they also realized this and now also allow -fopenmp or -qopenmp as flags. Due to commit 2121b2e5 the autodetected -openmp was now appended into the linker command line at the end, causing all C programs to be named "penmp". Fix by trying the -fopenmp, -qopenmp flags before -openmp in the Fortran compiler flag detection m4 macro.
Showing with 1 addition and 1 deletion