summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 15:43:48 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 15:43:48 +0000
commit571fd8accaf37b3195b1c4bd57f01b6382447641 (patch)
treefdacde653a716ea08182126afc15bca9e391158f /openmp/runtime/src
parent19197e2d8b68a69420846a133f331e43b47d27f0 (diff)
downloadbcm5719-llvm-571fd8accaf37b3195b1c4bd57f01b6382447641.tar.gz
bcm5719-llvm-571fd8accaf37b3195b1c4bd57f01b6382447641.zip
fixing the Fortran modules dependencies
llvm-svn: 227449
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/makefile.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/openmp/runtime/src/makefile.mk b/openmp/runtime/src/makefile.mk
index ade031bfbe1..4fc8c2f7f9c 100644
--- a/openmp/runtime/src/makefile.mk
+++ b/openmp/runtime/src/makefile.mk
@@ -1532,10 +1532,11 @@ endif
# --------------------------------------------------------------------------------------------------
# Fortran files.
# --------------------------------------------------------------------------------------------------
- omp_lib_f = omp_lib.f90
-omp_lib.mod omp_lib_kinds.mod : $(omp_lib_f) .rebuild
+omp_lib_f = omp_lib.f90
+omp_lib_kinds.mod : $(omp_lib_f) .rebuild
$(target)
$(fort) $(fort-flags) $<
+omp_lib.mod : omp_lib_kinds.mod
omp_lib.h : ev-flags += -D KMP_INT_PTR_KIND="int_ptr_kind()"
iomp_lib.h : ev-flags += -D KMP_INT_PTR_KIND=$(if $(filter 32,$(arch)),4,8)
OpenPOWER on IntegriCloud