def METHOD_NAME(self):
    spec = self.spec
    args = ["--enable-c++"]
    if spec.satisfies("%cce@9:"):
        args.append("LDFLAGS=-rtlib=compiler-rt")
    if (
        spec.satisfies("%clang")
        or spec.satisfies("%aocc")
        or spec.satisfies("%arm")
        or spec.satisfies("%fj")
    ) and not spec.satisfies("platform=darwin"):
        args.append("LDFLAGS=-rtlib=compiler-rt")
    if spec.satisfies("%intel@:18"):
        args.append("CFLAGS=-no-gcc")
    if "+sigsegv" in spec:
        args.append("--with-libsigsegv-prefix={0}".format(spec["libsigsegv"].prefix))
    else:
        args.append("--without-libsigsegv-prefix")
    # https://lists.gnu.org/archive/html/bug-m4/2016-09/msg00002.html
    arch = spec.architecture
    if arch.platform == "darwin" and arch.os == "sierra" and "%gcc" in spec:
        args.append("ac_cv_type_struct_sched_param=yes")
    return args