cpio: icc -no-gcc (#15446)

Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
This commit is contained in:
Daryl W. Grunau 2020-03-11 18:35:10 -06:00 committed by GitHub
parent e01817cb15
commit 3e8f873b03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,3 +16,8 @@ class Cpio(AutotoolsPackage, GNUMirrorPackage):
version('2.13', sha256='e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88')
build_directory = 'spack-build'
def flag_handler(self, name, flags):
if self.spec.satisfies('%intel') and name == 'cflags':
flags.append('-no-gcc')
return (flags, None, None)