Fix for m4%clang (#4912)

* Fix for m4%clang

* Restricted condition to not subsitute rtlib on OSX
This commit is contained in:
sknigh 2017-07-28 09:32:53 -07:00 committed by Adam J. Stewart
parent c5d2206206
commit 92ea7c4337

View File

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