def METHOD_NAME(self):
    if self.settings.compiler == "apple-clang" or (self.settings.compiler == "gcc" and Version(self.settings.compiler.version) < "11"):
        files.replace_in_file(self, "source_subfolder/Makefile", "-std=c++20", "-std=c++2a")
    files.replace_in_file(self, "source_subfolder/Makefile", "-Ithird-party/xxhash ", "-I{} -I{} -I{} -I{} -I{}".format(
    self._get_include_path("zlib"),
    self._get_include_path("openssl"),
    self._get_include_path("xxhash"),
    self._get_include_path("mimalloc"),
    self._get_include_path("onetbb")
    ))
    files.replace_in_file(self, "source_subfolder/Makefile", "MOLD_LDFLAGS += -ltbb", "MOLD_LDFLAGS += -L{} -ltbb".format(
        self.deps_cpp_info["onetbb"].lib_paths[0]))
    files.replace_in_file(self, "source_subfolder/Makefile", "MOLD_LDFLAGS += -lmimalloc", "MOLD_LDFLAGS += -L{} -lmimalloc".format(
        self.deps_cpp_info["mimalloc"].lib_paths[0]))