diff options
author | Robert Kalescky <rkalescky@smu.edu> | 2020-03-18 12:59:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 12:59:27 -0500 |
commit | 4d449790d04abe77d647903c6722ef9154318ab7 (patch) | |
tree | a7ab11c946e4e6b28def7d86e6051001eabd2d6a | |
parent | 8ad366a978d8a4e209fc19ea110fcb856c4c728d (diff) | |
download | spack-4d449790d04abe77d647903c6722ef9154318ab7.tar.gz spack-4d449790d04abe77d647903c6722ef9154318ab7.tar.bz2 spack-4d449790d04abe77d647903c6722ef9154318ab7.tar.xz spack-4d449790d04abe77d647903c6722ef9154318ab7.zip |
r-openssl requires C99. (#15541)
-rw-r--r-- | var/spack/repos/builtin/packages/r-openssl/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-openssl/package.py b/var/spack/repos/builtin/packages/r-openssl/package.py index 36ddd5ed7d..71f648b480 100644 --- a/var/spack/repos/builtin/packages/r-openssl/package.py +++ b/var/spack/repos/builtin/packages/r-openssl/package.py @@ -30,3 +30,8 @@ class ROpenssl(RPackage): depends_on('r-askpass', when='@1.2:', type=('build', 'run')) depends_on('openssl@1.0.1:') + + def flag_handler(self, name, flags): + if name == 'cflags': + flags.append(self.compiler.c99_flag) + return (flags, None, None) |