3 --- setup
.py
.orig
2012-12-23 21:32:49.000000000 +0000
5 @@ -77,6 +77,21 @@ if DEBUG
:
7 extra_compile_args
.append("-w")
10 +if "CC" in os
.environ
:
12 + sp
= subprocess
.Popen([os
.environ
['CC'], '--version'],
13 + stdin
=subprocess
.PIPE
,
14 + stdout
=subprocess
.PIPE
,
15 + stderr
=subprocess
.PIPE
,
16 + universal_newlines
=True)
19 + if re
.search("clang version", sp
.stdout
.read()):
20 + extra_compile_args
.append("-no-integrated-as")
24 if DISABLE_EMBEDDED_CRYPTOPP
:
25 define_macros
.append(('DISABLE_EMBEDDED_CRYPTOPP', 1))