From: Andrey Churbanov Date: Thu, 29 Jan 2015 15:43:48 +0000 (+0000) Subject: fixing the Fortran modules dependencies X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=571fd8accaf37b3195b1c4bd57f01b6382447641;p=platform%2Fupstream%2Fllvm.git fixing the Fortran modules dependencies llvm-svn: 227449 --- diff --git a/openmp/runtime/src/makefile.mk b/openmp/runtime/src/makefile.mk index ade031b..4fc8c2f 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)