void-packages/common/cross-profiles/armv7hf.sh
Juan RP a5b8b3052b 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.
2014-09-07 01:21:01 +02:00

8 lines
307 B
Bash

# Cross build profile for ARMv7 GNU EABI Hard Float.
XBPS_TARGET_ARCH="armv7l"
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"
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"