Skip to content
  • Lorenz Huedepohl's avatar
    Work around Intel's -openmp · dd427f38
    Lorenz Huedepohl authored
    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.
    dd427f38