wcsript: Fix syntax for Python3.

Closes #216
This commit is contained in:
Jonathan Moore Liles 2017-05-14 12:05:42 -07:00
parent 63a624414b
commit a2971c0718
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ def configure(conf):
conf.env['LIB_M'] = ['m'] conf.env['LIB_M'] = ['m']
if Options.options.sse: if Options.options.sse:
if os.system("grep -q '^flags.*sse' /proc/cpuinfo"): if os.system("grep -q '^flags.*\<sse2\>' /proc/cpuinfo"):
Options.options.sse = 0 Options.options.sse = 0
print "Processor lacks sse, disabling..." print( "Processor lacks sse, disabling..." )
# NTK_EXTRA_FLAGS='' # NTK_EXTRA_FLAGS=''
# if not Options.options.use_system_ntk: # if not Options.options.use_system_ntk: