fix cpio for intel@18 (#21322)

This commit is contained in:
bryanherman 2021-01-27 20:48:26 -05:00 committed by GitHub
parent 3172fc3681
commit cc28bcddd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ def flag_handler(self, name, flags):
spec = self.spec
if name == 'cflags':
if '%intel@:18.999' in spec:
if '%intel@:17.999' in spec:
flags.append('-no-gcc')
elif '%clang' in spec or '%fj' in spec: