wrappers: Add arm64ec support to ld-wrapper.sh

This commit is contained in:
Billy Laws authored and Martin Storsjö committed 2025-04-30 12:06:31 +03:00
1 parent fb25da229a
commit 7b66916f51
1 file changed
+5 -4
+5 -4
View File
@@ -36,10 +36,11 @@ fi
ARCH="${TARGET%%-*}" ARCH="${TARGET%%-*}"
TARGET_OS="${TARGET##*-}" TARGET_OS="${TARGET##*-}"
case $ARCH in case $ARCH in
i686) M=i386pe ;; i686) M=i386pe ;;
x86_64) M=i386pep ;; x86_64) M=i386pep ;;
armv7) M=thumb2pe ;; armv7) M=thumb2pe ;;
aarch64) M=arm64pe ;; aarch64) M=arm64pe ;;
arm64ec) M=arm64ecpe ;;
esac esac
FLAGS="-m $M" FLAGS="-m $M"
case $TARGET_OS in case $TARGET_OS in