diff --git a/common/build-profiles/aarch64-musl.sh b/common/build-profiles/aarch64-musl.sh new file mode 100644 index 0000000000..eae8aaba78 --- /dev/null +++ b/common/build-profiles/aarch64-musl.sh @@ -0,0 +1,3 @@ +XBPS_TARGET_CFLAGS="-march=armv8-a" +XBPS_TARGET_CXXFLAGS="$XBPS_CXXFLAGS" +XBPS_TRIPLET="aarch64-unknown-linux-musl" diff --git a/common/cross-profiles/aarch64-musl.sh b/common/cross-profiles/aarch64-musl.sh new file mode 100644 index 0000000000..92f81eb498 --- /dev/null +++ b/common/cross-profiles/aarch64-musl.sh @@ -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"