Check for ARM compiler in addition to clang (#10280)
Add "-rtlib=compiler-rt" to CFLAGS when building with either Clang or the ARM compiler. Refs #10279
This commit is contained in:
parent
dabf4f17d3
commit
2934eda311
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ def configure_args(self):
|
|||
spec = self.spec
|
||||
args = ['--enable-c++']
|
||||
|
||||
if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'):
|
||||
if (spec.satisfies('%clang') or spec.satisfies('%arm')) and not \
|
||||
spec.satisfies('platform=darwin'):
|
||||
args.append('CFLAGS=-rtlib=compiler-rt')
|
||||
|
||||
if spec.satisfies('%intel'):
|
||||
|
|
Loading…
Reference in a new issue