ci: build the arch tarball with arch's flags

This commit is contained in:
Felitendo committed 2026-09-28 11:18:39 +02:00
1 parent a6f6d1fab4
commit ac38638dd4
2 files changed
+16 -2

No files matched your search

+7
View File
@@ -21,6 +21,13 @@ version="${1:-$(make -s -C "$here" version)}"
opencv="${OPENCV_PREFIX:-$here/build/opencv-static}"
name="face-unlock-$version-arch-$(uname -m)"
# The flags Arch builds its own packages with: hardening, and full RELRO.
if [[ -f /etc/makepkg.conf ]]; then
# shellcheck source=/dev/null
source /etc/makepkg.conf
export CFLAGS CXXFLAGS LDFLAGS
fi
for tool in msgfmt scdoc cmake readelf zstd; do
command -v "$tool" > /dev/null || { echo "$0: $tool is not installed" >&2; exit 1; }
done