summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kalescky <rkalescky@smu.edu>2020-03-18 12:59:52 -0500
committerGitHub <noreply@github.com>2020-03-18 12:59:52 -0500
commit6bb8b92bc303829faac7cc7d715c9fd9b39cc423 (patch)
treed0e66ef64aafa55bfa71085abcf367693a8ba40f
parent4d449790d04abe77d647903c6722ef9154318ab7 (diff)
downloadspack-6bb8b92bc303829faac7cc7d715c9fd9b39cc423.tar.gz
spack-6bb8b92bc303829faac7cc7d715c9fd9b39cc423.tar.bz2
spack-6bb8b92bc303829faac7cc7d715c9fd9b39cc423.tar.xz
spack-6bb8b92bc303829faac7cc7d715c9fd9b39cc423.zip
Remove trailing newline. (#15539)
-rw-r--r--var/spack/repos/builtin/packages/r-sys/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-sys/package.py b/var/spack/repos/builtin/packages/r-sys/package.py
index bd9aff9519..1901e54354 100644
--- a/var/spack/repos/builtin/packages/r-sys/package.py
+++ b/var/spack/repos/builtin/packages/r-sys/package.py
@@ -18,3 +18,8 @@ class RSys(RPackage):
list_url = "https://cloud.r-project.org/src/contrib/Archive/sys"
version('3.2', sha256='2819498461fe2ce83d319d1a47844e86bcea6d01d10861818dba289e7099bbcc')
+
+ def flag_handler(self, name, flags):
+ if name == 'cflags':
+ flags.append(self.compiler.c99_flag)
+ return (flags, None, None)