def METHOD_NAME(self, env, dependent_spec):
    self.setup_run_environment(env)
    # Use the Spack compiler wrappers under MPI
    env.set("MPITRAMPOLINE_CC", spack_cc)
    env.set("MPITRAMPOLINE_CXX", spack_cxx)
    env.set("MPITRAMPOLINE_FC", spack_fc)
    fflags = []
    if (
        self.spec.satisfies("%apple-clang")
        or self.spec.satisfies("%clang")
        or self.spec.satisfies("%gcc")
    ):
        fflags.append("-fcray-pointer")
    if (
        self.spec.satisfies("%apple-clang@11:")
        or self.spec.satisfies("%clang@11:")
        or self.spec.satisfies("%gcc@10:")
    ):
        fflags.append("-fallow-argument-mismatch")
    env.set("FFLAGS", " ".join(fflags))