common/profiles: introduce XBPS_{,TARGET_}WORDSIZE
The host and target word size can be used to determine whether cross compiling certain packages is possible.
This commit is contained in:
parent
fd728ab673
commit
ed4cdadcfd
39 changed files with 49 additions and 27 deletions
|
@ -1,3 +1,4 @@
|
|||
XBPS_WORDSIZE=32
|
||||
XBPS_TARGET_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||
XBPS_TARGET_FFLAGS=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue