* cpio: Fix issue compiling with newer intel compilers (#18854) Do not add --no-gcc for recent intel compilers (e.g. 20.x) * cpio: Remove --no-gcc flag for intel@19 as well as intel@20 Based on comments from @nrichart, removing --no-gcc option for intel@19 as well as intel@20
This commit is contained in:
parent
a408400619
commit
793ffd8d9c
@ -23,7 +23,7 @@ def flag_handler(self, name, flags):
|
|||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|
||||||
if name == 'cflags':
|
if name == 'cflags':
|
||||||
if '%intel' in spec:
|
if '%intel@:18.999' in spec:
|
||||||
flags.append('-no-gcc')
|
flags.append('-no-gcc')
|
||||||
|
|
||||||
elif '%clang' in spec or '%fj' in spec:
|
elif '%clang' in spec or '%fj' in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user