def METHOD_NAME(self):
    args = []
    args += self.enable_or_disable("shared")
    args += self.enable_or_disable("cuda")
    if "+kxc" in self.spec:
        args.append("--enable-kxc")
    if "+lxc" in self.spec:
        args.append("--enable-lxc")
    return args