void-packages/common/build-profiles/armv6l.sh
Juan RP 9a168e4463 xbps-src: introduce XBPS_TRIPLET and set it in the build-profiles.
This is for cases where host does not match build environment (x86_64 building for x86).
So we just force build/host triplet in native builds.
2014-11-11 22:24:40 +01:00

3 lines
164 B
Bash

XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong -march=armv6 -mfpu=vfp -mfloat-abi=hard"
XBPS_CXXFLAGS="$XBPS_CFLAGS"
XBPS_TRIPLET="armv6l-unknown-linux-gnueabihf"