summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 13 insertions, 13 deletions
diff --git a/configure b/configure
index 4747dd2a16..012b77f24a 100755
--- a/configure
+++ b/configure
@@ -342,7 +342,7 @@ def is_arm_neon():
return '__ARM_NEON__' in cc_macros()
-def arm_hard_float_abi():
+def is_arm_hard_float_abi():
"""Check for hardfloat or softfloat eabi on ARM"""
# GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify
# the Floating Point ABI used (PCS stands for Procedure Call Standard).
@@ -422,21 +422,15 @@ def compiler_version():
def configure_arm(o):
- # V8 on ARM requires that armv7 is set. CPU Model detected by
- # the presence of __ARM_ARCH_7__ and the like defines in compiler
if options.arm_float_abi:
- hard_float = options.arm_float_abi == 'hard'
+ arm_float_abi = options.arm_float_abi
else:
- hard_float = arm_hard_float_abi()
-
- armv7 = is_arch_armv7()
- # CHECKME VFPv3 implies ARMv7+ but is the reverse true as well?
- fpu = 'vfpv3' if armv7 else 'vfpv2'
-
- o['variables']['armv7'] = int(armv7)
- o['variables']['arm_fpu'] = fpu
+ arm_float_abi = 'hard' if is_arm_hard_float_abi() else '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())
- o['variables']['v8_use_arm_eabi_hardfloat'] = b(hard_float)
+ o['variables']['arm_thumb'] = 0 # -marm
+ o['variables']['arm_float_abi'] = arm_float_abi
def configure_node(o):
@@ -471,6 +465,8 @@ def configure_node(o):
# SunOS, and we haven't implemented it.)
if flavor in ('solaris', 'mac'):
o['variables']['node_use_dtrace'] = b(not options.without_dtrace)
+ o['variables']['uv_use_dtrace'] = o['variables']['node_use_dtrace']
+ o['variables']['uv_parent_path'] = '/deps/uv/'
elif flavor == 'linux':
o['variables']['node_use_dtrace'] = 'false'
o['variables']['node_use_systemtap'] = b(options.with_dtrace)
@@ -670,6 +666,10 @@ config = {
'USE_XCODE': str(int(options.use_xcode or 0)),
'PYTHON': sys.executable,
}
+
+if options.prefix:
+ config['PREFIX'] = options.prefix
+
config = '\n'.join(map('='.join, config.iteritems())) + '\n'
write('config.mk',