aboutsummaryrefslogtreecommitdiff
path: root/LORENE.sh
diff options
context:
space:
mode:
Diffstat (limited to 'LORENE.sh')
-rw-r--r--LORENE.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/LORENE.sh b/LORENE.sh
index efb9505..2181b0f 100644
--- a/LORENE.sh
+++ b/LORENE.sh
@@ -76,6 +76,7 @@ if [ -z "${LORENE_DIR}" ]; then
${PATCH} -p0 < ${SRCDIR}/dist/des.patch
${PATCH} -p0 < ${SRCDIR}/dist/makesystem.patch
${PATCH} -p0 < ${SRCDIR}/dist/pgplot.patch
+ ${PATCH} -p0 < ${SRCDIR}/dist/openmp.patch
# Some (ancient but still used) versions of patch don't support the
# patch format used here but also don't report an error using the
# exit code. So we use this patch to test for this
@@ -109,7 +110,7 @@ if [ -z "${LORENE_DIR}" ]; then
fi
cat > local_settings <<EOF
CXX = ${CXX}
-CXXFLAGS = ${CXXFLAGS}
+CXXFLAGS = ${CXXFLAGS} ${CPP_OPENMP_FLAGS}
CXXFLAGS_G = ${CXXFLAGS}
F77 = ${F77}
F77FLAGS = ${F77FLAGS} ${FIXEDF77FLAGS}