mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
armv6: switch march to armv6zk+fp to use the FPU.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
2
lfs/gcc
2
lfs/gcc
@@ -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
|
||||
|
||||
2
make.sh
2
make.sh
@@ -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"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user