CrayPE update for libunwind (#23821)

This commit is contained in:
lukebroskop
2021-05-26 13:10:51 -05:00
committed by GitHub
parent b596abe037
commit f3e3e5514d

View File

@@ -53,7 +53,9 @@ def flag_handler(self, name, flags):
if name == 'cflags':
# https://github.com/libunwind/libunwind/pull/166
if self.spec.satisfies('@:1.4 %gcc@10:'):
if (self.spec.satisfies('@:1.4 %gcc@10:') or
self.spec.satisfies('@:1.4 %cce@11:') or
self.spec.satisfies('@:1.4 %clang@11:')):
wrapper_flags.append('-fcommon')
if '+pic' in self.spec: