armv6: switch march to armv6zk+fp to use the FPU.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-07-01 08:43:47 +02:00
parent 05c54e822e
commit f3fda4d3ba
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ endif
ifeq "$(BUILD_ARCH)" "armv6l"
EXTRA_CONFIG += \
--with-arch=armv6 \
--with-arch=armv6zk+fp \
--with-float=softfp
# --disable-sjlj-exceptions
endif

View File

@@ -176,7 +176,7 @@ configure_build() {
BUILDTARGET="${build_arch}-unknown-linux-gnueabi"
CROSSTARGET="${build_arch}-cross-linux-gnueabi"
BUILD_PLATFORM="arm"
CFLAGS_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=softfp -fomit-frame-pointer"
CFLAGS_ARCH="-march=armv6zk+fp -mfpu=vfp -mfloat-abi=softfp -fomit-frame-pointer"
#RUSTFLAGS="-Ccodegen-units=1"
;;