Fixing GCC compiler setting for PDT package
This commit is contained in:
parent
6fd2c66022
commit
33d35768e6
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ def configure(self, spec, prefix):
|
|||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue