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.
This commit is contained in:
Juan RP 2014-11-11 22:24:40 +01:00
parent ab9b7971f0
commit 9a168e4463
10 changed files with 10 additions and 3 deletions

View file

@ -1,2 +1,3 @@
XBPS_CFLAGS="-O2 -pipe -fstack-protector -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
XBPS_CXXFLAGS="$XBPS_CFLAGS"
XBPS_TRIPLET="armv7l-unknown-linux-gnueabihf"