This reverts commit 6c3184820a
.
This commit is contained in:
parent
6f9036c858
commit
a685372636
1 changed files with 3 additions and 5 deletions
|
@ -48,13 +48,11 @@ def configure_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
args = ['--enable-c++']
|
args = ['--enable-c++']
|
||||||
|
|
||||||
# CFLAGS handling
|
|
||||||
cflags = copy.deepcopy(optflags[self.spec.compiler.name])
|
|
||||||
if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'):
|
if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'):
|
||||||
cflags.append('-rtlib=compiler-rt')
|
args.append('CFLAGS=-rtlib=compiler-rt')
|
||||||
|
|
||||||
if spec.satisfies('%intel'):
|
if spec.satisfies('%intel'):
|
||||||
cflags.append('-no-gcc')
|
args.append('CFLAGS=-no-gcc')
|
||||||
args.append('CFLAGS = {0}'.format(' '.join(cflags)))
|
|
||||||
|
|
||||||
if '+sigsegv' in spec:
|
if '+sigsegv' in spec:
|
||||||
args.append('--with-libsigsegv-prefix={0}'.format(
|
args.append('--with-libsigsegv-prefix={0}'.format(
|
||||||
|
|
Loading…
Reference in a new issue