aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 6528724c4..0eebf3dea 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -42,10 +42,10 @@ _gfortran-has-openmp() {
[[ $(tc-getFC) != *gfortran* ]] && return 0
local base="${T}/test-fc-openmp"
# leave extra leading space to make sure it works on fortran 77 as well
- cat <<- EOF > "${base}.f"
- call omp_get_num_threads
- end
- EOF
+ cat << EOF > "${base}.f"
+ call omp_get_num_threads
+ end
+EOF
$(tc-getFC "$@") -fopenmp "${base}.f" -o "${base}" >&/dev/null
local ret=$?
rm -f "${base}"*