libxc: add std flag for Intel (#25281)
This commit is contained in:
parent
d4df3b31fb
commit
be59f2bff0
@ -79,7 +79,9 @@ def setup_build_environment(self, env):
|
|||||||
env.append_flags('CFLAGS', optflags)
|
env.append_flags('CFLAGS', optflags)
|
||||||
env.append_flags('FCFLAGS', optflags)
|
env.append_flags('FCFLAGS', optflags)
|
||||||
|
|
||||||
if '%intel' in self.spec and which('xiar'):
|
if '%intel' in self.spec:
|
||||||
|
env.append_flags('CFLAGS', '-std=c99')
|
||||||
|
if which('xiar'):
|
||||||
env.set('AR', 'xiar')
|
env.set('AR', 'xiar')
|
||||||
|
|
||||||
if '%aocc' in self.spec:
|
if '%aocc' in self.spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user