mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-26 16:53:45 +02:00
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:
parent
84fcd28ebb
commit
c09ee66e69
2 changed files with 2 additions and 2 deletions
|
@ -9,5 +9,5 @@ cmake = 'cmake'
|
||||||
[host_machine]
|
[host_machine]
|
||||||
system = 'linux'
|
system = 'linux'
|
||||||
cpu_family = 'arm'
|
cpu_family = 'arm'
|
||||||
cpu = 'generic-armv7-a+fp'
|
cpu = 'generic-armv7-a+vfpv3-d16'
|
||||||
endian = 'little'
|
endian = 'little'
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
export ARCH=armv7
|
export ARCH=armv7
|
||||||
export ARCH_OPENSSL=armv4
|
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 ARCH_CONFIGURE=arm-linux-gnueabihf
|
||||||
export CC="$ARCH_CONFIGURE-gcc"
|
export CC="$ARCH_CONFIGURE-gcc"
|
||||||
export ARCH_CMAKE_TOOLCHAIN=toolchain-arm32.cmake
|
export ARCH_CMAKE_TOOLCHAIN=toolchain-arm32.cmake
|
||||||
|
|
Loading…
Add table
Reference in a new issue