Skip to content

Commit 84dea1b

Browse files
joerg-krausebnoordhuis
authored andcommitted
configure: fix arm vfpv2
The gcc -mfpu flag for VFPv2 is vfp, not vfpv2 (there is no vfpv2) [1]. [1] https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html PR-URL: #4203 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 3b94991 commit 84dea1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
3030
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 'x32',
3131
'x64', 'x86')
3232
valid_arm_float_abi = ('soft', 'softfp', 'hard')
33-
valid_arm_fpu = ('vfp', 'vfpv2', 'vfpv3', 'vfpv3-d16', 'neon')
33+
valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
3434
valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx')
3535
valid_mips_fpu = ('fp32', 'fp64', 'fpxx')
3636
valid_mips_float_abi = ('soft', 'hard')
@@ -631,7 +631,7 @@ def configure_arm(o):
631631
else:
632632
arm_float_abi = 'default'
633633

634-
arm_fpu = 'vfpv2'
634+
arm_fpu = 'vfp'
635635

636636
if is_arch_armv7():
637637
arm_fpu = 'vfpv3'

0 commit comments

Comments
 (0)