diff options
author | Thilina Rathnayake <thilinarmtb@users.noreply.github.com> | 2019-05-03 13:52:45 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-05-04 03:52:45 +0900 |
commit | c2f9061a3c898d96a4c8bf22a08c3fe5cc2919a0 (patch) | |
tree | ca3dc46c5194660b2bd79605e55b7f751bc62236 | |
parent | 9b0000d04fbd1b9439789abcc6a541c57ce373ed (diff) | |
download | spack-c2f9061a3c898d96a4c8bf22a08c3fe5cc2919a0.tar.gz spack-c2f9061a3c898d96a4c8bf22a08c3fe5cc2919a0.tar.bz2 spack-c2f9061a3c898d96a4c8bf22a08c3fe5cc2919a0.tar.xz spack-c2f9061a3c898d96a4c8bf22a08c3fe5cc2919a0.zip |
Nek5000: Fix CFLAGS and FFLAGS handling (#11339)
-rw-r--r-- | var/spack/repos/builtin/packages/nek5000/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/nek5000/package.py b/var/spack/repos/builtin/packages/nek5000/package.py index 9e2af1d5fe..99d533b606 100644 --- a/var/spack/repos/builtin/packages/nek5000/package.py +++ b/var/spack/repos/builtin/packages/nek5000/package.py @@ -96,10 +96,10 @@ class Nek5000(Package): filter_file(r'^#SOURCE_ROOT\s*=\"\$H.*', 'SOURCE_ROOT=\"' + prefix.bin.Nek5000 + '\"', 'makenek') if fflags: - filter_file(r'^#FFLAGS=.*', 'FFLAGS="{0}"'.format(fflags), + filter_file(r'^#FFLAGS=.*', 'FFLAGS+=" {0}"'.format(fflags), 'makenek') if cflags: - filter_file(r'^#CFLAGS=.*', 'CFLAGS="{0}"'.format(cflags), + filter_file(r'^#CFLAGS=.*', 'CFLAGS+=" {0}"'.format(cflags), 'makenek') with working_dir('core'): |