Skip to content

Commit

Permalink
build: older pythons don't support ternary if
Browse files Browse the repository at this point in the history
  • Loading branch information
tjfontaine committed Dec 7, 2013
1 parent fcca358 commit f9f9239
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,10 @@ def compiler_version():
def configure_arm(o):
if options.arm_float_abi:
arm_float_abi = options.arm_float_abi
elif is_arm_hard_float_abi():
arm_float_abi = 'hard'
else:
arm_float_abi = 'hard' if is_arm_hard_float_abi() else 'default'
'default'
o['variables']['armv7'] = int(is_arch_armv7())
o['variables']['arm_fpu'] = 'vfpv3' # V8 3.18 no longer supports VFP2.
o['variables']['arm_neon'] = int(is_arm_neon())
Expand Down

0 comments on commit f9f9239

Please sign in to comment.