def METHOD_NAME(self):
    # Generic options to compile GCC
    options = [
        # Distributor options
        "--program-prefix=roc",
        "--enable-64-bit-bfd",
        "--with-bugurl=https://github.com/ROCm-Developer-Tools/ROCgdb/issues",
        "--with-pkgversion=-ROCm",
        "--enable-targets=x86_64-linux-gnu,amdgcn-amd-amdhsa",
        "--disable-ld",
        "--disable-gas",
        "--disable-gdbserver",
        "--disable-sim",
        "--enable-tui",
        "--disable-gdbtk",
        "--disable-shared",
        "--with-expat",
        "--with-system-zlib" "--without-guile",
        "--with-babeltrace",
        "--with-lzma",
        "--with-python",
        "--with-rocm-dbgapi={0}".format(self.spec["rocm-dbgapi"].prefix),
    ]
    if self.spec.satisfies("@5.2.0:"):
        options.append("--disable-gprofng")
    return options