libdrm: add -fcommon to CFLAGS for %aocc@2.3.0: and %clang@11.0.0: (#29169)
This commit is contained in:
parent
0b4f40ab79
commit
fddc58387c
@ -33,6 +33,6 @@ def configure_args(self):
|
||||
# Needed to fix build for spack/spack#1740, but breaks newer
|
||||
# builds/compilers
|
||||
args.append('LIBS=-lrt')
|
||||
if self.spec.satisfies('%gcc@10.0.0:') or self.spec.satisfies('%clang@12.0.0:'):
|
||||
if self.spec.satisfies('%gcc@10.0.0:') or self.spec.satisfies('%clang@11.0.0:') or self.spec.satisfies('%aocc@2.3.0:'):
|
||||
args.append('CFLAGS=-fcommon')
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user