cross-profiles/armv7hf: switch to the armv7l-linux-gnueabihf cross compiler again.
glibc uses the cross compiler preprocessor to know what architecture to compile for, resulting in wrong architecture being used with the armv6 cross compiler.
This commit is contained in:
parent
44e9f97b46
commit
a5b8b3052b
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Cross build profile for ARMv7 GNU EABI Hard Float.
|
||||
|
||||
XBPS_TARGET_ARCH="armv7l"
|
||||
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf"
|
||||
XBPS_CROSS_TRIPLET="armv7l-linux-gnueabihf"
|
||||
XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong"
|
||||
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
||||
|
|
Loading…
Reference in a new issue