summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/fortran-2.eclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 3d80fe15beae..f26621e6b9ab 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -27,6 +27,8 @@
#
# FORTRAN_NEED_OPENMP=1
+if [[ ! ${_FORTRAN_2_CLASS} ]]; then
+
# @ECLASS-VARIABLE: FORTRAN_NEED_OPENMP
# @DESCRIPTION:
# Set to "1" in order to automatically have the eclass abort if the fortran
@@ -257,3 +259,5 @@ case ${EAPI:-0} in
*) die "EAPI=${EAPI} is not supported" ;;
esac
+_FORTRAN_2_ECLASS=1
+fi