summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pdt/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py
index 9fcf567174..bb414c0bf5 100644
--- a/var/spack/repos/builtin/packages/pdt/package.py
+++ b/var/spack/repos/builtin/packages/pdt/package.py
@@ -62,7 +62,7 @@ class Pdt(AutotoolsPackage):
options.append("-pgCC")
elif self.compiler.name == "gcc":
options.append("-GNU")
- elif self.compiler.name == "clang" or self.compiler.name == "apple-clang":
+ elif self.compiler.name in ["clang", "apple-clang", "aocc"]:
options.append("-clang")
elif self.compiler.name == "cce":
options.append("-CC")