common: expose build profile in cross env

[ci skip]
This commit is contained in:
q66 2019-02-10 19:07:28 +01:00 committed by maxice8
parent b4f0f4615a
commit 3c47efa808
2 changed files with 25 additions and 11 deletions

View file

@ -9,3 +9,7 @@ for a specific architecture:
- XBPS_CXXFLAGS (C++ compiler flags for the host compiler)
- XBPS_FFLAGS (Fortran compiler flags for the host compiler)
- XBPS_RUST_TARGET (the compiler triplet for usage by cargo)
These properties are also set in a cross environment, but the compiler
flags are not added into the global flags. XBPS_RUST_TARGET is also
exposed as RUST_BUILD instead of RUST_TARGET.