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
@ -23,7 +23,7 @@ class Pigz(MakefilePackage):
|
|||||||
def build(self, spec, prefix):
|
def build(self, spec, prefix):
|
||||||
# force makefile to use cc as C compiler which is set by
|
# force makefile to use cc as C compiler which is set by
|
||||||
# spack
|
# spack
|
||||||
make('CC=cc')
|
make('CC=cc', 'CFLAGS=-O3 -Wall')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
mkdirp(prefix.bin)
|
mkdirp(prefix.bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user