common/*-profiles/aarch64-musl.sh: add AArch64/ARMv8 musl profiles.
This commit is contained in:
parent
25bb572dbe
commit
71fe1e30ff
2 changed files with 11 additions and 0 deletions
3
common/build-profiles/aarch64-musl.sh
Normal file
3
common/build-profiles/aarch64-musl.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
XBPS_TARGET_CFLAGS="-march=armv8-a"
|
||||
XBPS_TARGET_CXXFLAGS="$XBPS_CXXFLAGS"
|
||||
XBPS_TRIPLET="aarch64-unknown-linux-musl"
|
8
common/cross-profiles/aarch64-musl.sh
Normal file
8
common/cross-profiles/aarch64-musl.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Cross build profile for ARMv8.
|
||||
|
||||
XBPS_TARGET_ARCH="aarch64-musl"
|
||||
XBPS_CROSS_TRIPLET="aarch64-linux-musl"
|
||||
XBPS_CFLAGS="-O2 -pipe" # XXX not yet supported: -fstack-protector-strong
|
||||
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||
XBPS_CROSS_CFLAGS="-march=armv8-a"
|
||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
Loading…
Reference in a new issue