From 740bc3fe2faf3b06cbc6d9b4b9b56fddf96dbc81 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 21 Apr 2024 11:40:12 +0200 Subject: [PATCH] Fix build for frt arm32v6. --- platform/frt/detect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/frt/detect.py b/platform/frt/detect.py index 64069bb07..0edaa9d42 100644 --- a/platform/frt/detect.py +++ b/platform/frt/detect.py @@ -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'])