View | Details | Raw Unified | Return to bug 567
Collapse All | Expand All

(-)a/wscript (-1 / +2 lines)
 Lines 6-11    Link Here 
6
import types
6
import types
7
import optparse
7
import optparse
8
import os.path
8
import os.path
9
import re
9
10
10
# WAF modules
11
# WAF modules
11
import pproc as subprocess
12
import pproc as subprocess
 Lines 294-300    Link Here 
294
    if Options.options.enable_static:
295
    if Options.options.enable_static:
295
        if env['PLATFORM'].startswith('linux') and \
296
        if env['PLATFORM'].startswith('linux') and \
296
                env['CXX_NAME'] == 'gcc':
297
                env['CXX_NAME'] == 'gcc':
297
            if os.uname()[4] == 'i386':
298
            if re.match('i[3-6]86', os.uname()[4]):
298
                conf.report_optional_feature("static", "Static build", True, '')
299
                conf.report_optional_feature("static", "Static build", True, '')
299
                env['ENABLE_STATIC_NS3'] = True
300
                env['ENABLE_STATIC_NS3'] = True
300
            elif os.uname()[4] == 'x86_64':
301
            elif os.uname()[4] == 'x86_64':

Return to bug 567