We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1270ae1 commit c6ee304Copy full SHA for c6ee304
var/spack/repos/builtin/packages/libxc/package.py
@@ -73,8 +73,10 @@ def setup_build_environment(self, env):
73
# by Spack, otherwise we may end up with contradictory or invalid flags
74
# see https://github.com/spack/spack/issues/17794
75
76
+ # https://gitlab.com/libxc/libxc/-/issues/430 (configure script does not ensure C99)
77
+ # TODO: Switch to cmake since this is better supported
78
+ env.append_flags("CFLAGS", self.compiler.c99_flag)
79
if "%intel" in self.spec:
- env.append_flags("CFLAGS", "-std=c99")
80
if which("xiar"):
81
env.set("AR", "xiar")
82
0 commit comments