Browse Source

build: older pythons don't support ternary if

v0.11.10-release
Timothy J Fontaine 11 years ago
parent
commit
f9f9239fa2
  1. 4
      configure

4
configure

@ -428,8 +428,10 @@ def compiler_version():
def configure_arm(o): def configure_arm(o):
if options.arm_float_abi: if options.arm_float_abi:
arm_float_abi = options.arm_float_abi arm_float_abi = options.arm_float_abi
elif is_arm_hard_float_abi():
arm_float_abi = 'hard'
else: else:
arm_float_abi = 'hard' if is_arm_hard_float_abi() else 'default' 'default'
o['variables']['armv7'] = int(is_arch_armv7()) o['variables']['armv7'] = int(is_arch_armv7())
o['variables']['arm_fpu'] = 'vfpv3' # V8 3.18 no longer supports VFP2. o['variables']['arm_fpu'] = 'vfpv3' # V8 3.18 no longer supports VFP2.
o['variables']['arm_neon'] = int(is_arm_neon()) o['variables']['arm_neon'] = int(is_arm_neon())

Loading…
Cancel
Save