diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/elpa/package.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/elpa/package.py b/var/spack/repos/builtin/packages/elpa/package.py index 30061eb9ef..2f107bb664 100644 --- a/var/spack/repos/builtin/packages/elpa/package.py +++ b/var/spack/repos/builtin/packages/elpa/package.py @@ -132,16 +132,7 @@ class Elpa(AutotoolsPackage, CudaPackage, ROCmPackage): options.append("--enable-generic") if self.compiler.name == "gcc": - gcc_options = [] - gfortran_options = ["-ffree-line-length-none"] - - space_separator = " " - options.extend( - [ - "CFLAGS=" + space_separator.join(gcc_options), - "FCFLAGS=" + space_separator.join(gfortran_options), - ] - ) + options.extend(["CFLAGS=-O3", "FCFLAGS=-O3 -ffree-line-length-none"]) if "%aocc" in spec: options.extend(["FCFLAGS=-O3", "CFLAGS=-O3"]) |