Fix pigz%nvhpc build (#31227)
nvc doesn't know this flag: `-Wno-unknown-pragmas`, it doesn't hurt to remove the specific warning flags, from: ``` -O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual ``` to: ``` -O3 -Wall ```
This commit is contained in:
parent
f09f834a8f
commit
5698846619
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Pigz(MakefilePackage):
|
|||
def build(self, spec, prefix):
|
||||
# force makefile to use cc as C compiler which is set by
|
||||
# spack
|
||||
make('CC=cc')
|
||||
make('CC=cc', 'CFLAGS=-O3 -Wall')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdirp(prefix.bin)
|
||||
|
|
Loading…
Reference in a new issue