diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-12-07 11:49:49 -0800 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-12-07 11:49:49 -0800 |
commit | f9f9239fa2f1c33e17ed3b0e830099f64a70bd37 (patch) | |
tree | c46ee085ce73851dd86520311419d184b9100e88 /configure | |
parent | fcca3585fea09ab4a5a86628dceeb248ff82b1ff (diff) | |
download | node-new-f9f9239fa2f1c33e17ed3b0e830099f64a70bd37.tar.gz |
build: older pythons don't support ternary if
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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()) |