snap: overwrite flags (#10832)

This commit is contained in:
Christoph Junghans
2019-03-07 14:53:04 -07:00
committed by GitHub
parent c11e745421
commit 0d07dea2eb

View File

@@ -38,6 +38,7 @@ def edit(self, spec, prefix):
makefile.filter('MPI = yes', 'MPI = no')
if '~openmp' in spec:
makefile.filter('OPENMP = yes', 'OPENMP = no')
makefile.filter('FFLAGS =.*', 'FFLAGS =')
def install(self, spec, prefix):
mkdirp(prefix.bin)