waf: check for cxxfilt python module (needed for castxml)
This commit is contained in:
1 parent
26f22d2123
commit
bb50384ea2
1 file changed
+6
@@ -188,6 +188,12 @@ def configure(conf):
|
||||
if castxml:
|
||||
conf.env['PYGCCXML_MODE'] = 'castxml'
|
||||
|
||||
if conf.env['ENABLE_PYGCCXML']:
|
||||
try:
|
||||
conf.check_python_module('cxxfilt')
|
||||
except conf.errors.ConfigurationError:
|
||||
conf.env['ENABLE_PYGCCXML'] = False
|
||||
|
||||
# -fvisibility=hidden optimization
|
||||
if (conf.env['CXX_NAME'] == 'gcc' and [int(x) for x in conf.env['CC_VERSION']] >= [4,0,0]
|
||||
and conf.check_compilation_flag('-fvisibility=hidden')):
|
||||
|
||||
Reference in new issue
Block a user