Fix build for frt arm32v6.

This commit is contained in:
Relintai 2024-04-21 11:40:12 +02:00
parent 3ddbfc066f
commit 740bc3fe2f

View File

@ -155,7 +155,8 @@ def configure(env):
# env.Append(CCFLAGS=['-ffast-math'])
if env['frt_arch'] == 'arm32v6':
env.Append(CCFLAGS=['-march=armv6', '-mfpu=vfp', '-mfloat-abi=hard'])
#env.Append(CCFLAGS=['-march=armv6', '-mfpu=vfp', '-mfloat-abi=hard'])
env.Append(CCFLAGS=['-marm', '-mfpu=vfp', '-mfloat-abi=hard'])
env.extra_suffix += '.arm32v6'
elif env['frt_arch'] == 'arm32v7':
env.Append(CCFLAGS=['-march=armv7-a', '-mfpu=neon-vfpv4', '-mfloat-abi=hard'])