Fix m4 to compile with Intel (#5728)

Fixes #5705.
This commit is contained in:
Ondřej Čertík 2017-10-13 11:20:49 -06:00 committed by Christoph Junghans
parent 8ffe18f1dc
commit e76cfbbfd8

View file

@ -51,6 +51,9 @@ def configure_args(self):
if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'): if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'):
args.append('CFLAGS=-rtlib=compiler-rt') args.append('CFLAGS=-rtlib=compiler-rt')
if spec.satisfies('%intel'):
args.append('CFLAGS=-no-gcc')
if '+sigsegv' in spec: if '+sigsegv' in spec:
args.append('--with-libsigsegv-prefix={0}'.format( args.append('--with-libsigsegv-prefix={0}'.format(
spec['libsigsegv'].prefix)) spec['libsigsegv'].prefix))