File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1669,12 +1669,6 @@ def is_arch_armv7():
16691669 return cc_macros_cache .get ('__ARM_ARCH' ) == '7'
16701670
16711671
1672- def is_arch_armv6 ():
1673- """Check for ARMv6 instructions"""
1674- cc_macros_cache = cc_macros ()
1675- return cc_macros_cache .get ('__ARM_ARCH' ) == '6'
1676-
1677-
16781672def is_arm_hard_float_abi ():
16791673 """Check for hardfloat or softfloat eabi on ARM"""
16801674 # GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify
@@ -1758,7 +1752,7 @@ def configure_arm(o):
17581752 arm_fpu = 'vfpv3'
17591753 o ['variables' ]['arm_version' ] = '7'
17601754 else :
1761- o ['variables' ]['arm_version' ] = '6' if is_arch_armv6 () else ' default'
1755+ o ['variables' ]['arm_version' ] = 'default'
17621756
17631757 o ['variables' ]['arm_thumb' ] = 0 # -marm
17641758 o ['variables' ]['arm_float_abi' ] = arm_float_abi
You can’t perform that action at this time.
0 commit comments