Fix armv7 cross-compile target

I don't know why this change matters; my reading of the GCC documentation
is that they should be equivalent, but clearly either I misread the docs
or there's a GCC bug. Either way, this fix should be fine.
This commit is contained in:
Splendide Imaginarius 2024-09-02 03:44:59 +00:00
parent 84fcd28ebb
commit c09ee66e69
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@ cmake = 'cmake'
[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'generic-armv7-a+fp'
cpu = 'generic-armv7-a+vfpv3-d16'
endian = 'little'

View file

@ -21,7 +21,7 @@
export ARCH=armv7
export ARCH_OPENSSL=armv4
export ARCH_CFLAGS="-mcpu=generic-armv7-a+fp -mtune=generic-armv7-a+fp"
export ARCH_CFLAGS="-mcpu=generic-armv7-a+vfpv3-d16 -mtune=generic-armv7-a+vfpv3-d16"
export ARCH_CONFIGURE=arm-linux-gnueabihf
export CC="$ARCH_CONFIGURE-gcc"
export ARCH_CMAKE_TOOLCHAIN=toolchain-arm32.cmake