def METHOD_NAME(self, name, flags):
    wrapper_flags = []
    if name == "cflags":
        # https://github.com/libunwind/libunwind/pull/166
        if (
            self.spec.satisfies("@:1.4 %gcc@10:")
            or self.spec.satisfies("@:1.4 %cce@11:")
            or self.spec.satisfies("@:1.4 %clang@11:")
        ):
            wrapper_flags.append("-fcommon")
        if "+pic" in self.spec:
            wrapper_flags.append(self.compiler.cc_pic_flag)
    return (wrapper_flags, None, flags)