summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/pdt/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py
index 6d246a9b70..2d099b8dff 100644
--- a/var/spack/repos/builtin/packages/pdt/package.py
+++ b/var/spack/repos/builtin/packages/pdt/package.py
@@ -43,6 +43,10 @@ class Pdt(AutotoolsPackage):
options.append('-icpc')
elif self.compiler.name == 'pgi':
options.append('-pgCC')
+ elif self.compiler.name == 'gcc':
+ options.append('-GNU')
+ else:
+ raise InstallError('Unknown/unsupported compiler family')
configure(*options)