diff --git a/flang-rt/lib/runtime/__ppc_intrinsics.f90 b/flang-rt/lib/runtime/__ppc_intrinsics.f90 index b3ff33b0619ff..1c917cefec0a0 100644 --- a/flang-rt/lib/runtime/__ppc_intrinsics.f90 +++ b/flang-rt/lib/runtime/__ppc_intrinsics.f90 @@ -7,6 +7,7 @@ !===------------------------------------------------------------------------===! module __ppc_intrinsics + use __ppc_types ! implicit dependencies, made explicit for CMake private diff --git a/flang-rt/lib/runtime/__ppc_types.f90 b/flang-rt/lib/runtime/__ppc_types.f90 index 7a7c7898ebf80..d98dd80182839 100644 --- a/flang-rt/lib/runtime/__ppc_types.f90 +++ b/flang-rt/lib/runtime/__ppc_types.f90 @@ -7,6 +7,7 @@ !===------------------------------------------------------------------------===! module __ppc_types + use __fortran_builtins ! implicit dependency, made explicit for CMake implicit none ! Set PRIVATE by default to explicitly only export what is meant diff --git a/flang-rt/lib/runtime/mma.f90 b/flang-rt/lib/runtime/mma.f90 index 4c41822e000a3..04f9a35b5d5aa 100644 --- a/flang-rt/lib/runtime/mma.f90 +++ b/flang-rt/lib/runtime/mma.f90 @@ -7,6 +7,8 @@ !===------------------------------------------------------------------------===! module mma + use __ppc_types ! implicit dependencies, made explicit for CMake + implicit none private