def METHOD_NAME(self, env):
    # The default optimization level for icx/icpx is "-O2",
    # but building m4 with this level breaks the build of dependents.
    # So we set it explicitely to "-O0".
    if self.spec.satisfies("%intel") or self.spec.satisfies("%oneapi"):
        env.append_flags("CFLAGS", "-O0")