def METHOD_NAME(self, name, flags):
    if name == "cflags":
        if self.spec.satisfies("%oneapi"):
            flags.append("-Wno-error=implicit-function-declaration")
    return (flags, None, None)