wrappers: Add arm64ec support to ld-wrapper.sh
This commit is contained in:
1 parent
fb25da229a
commit
7b66916f51
1 file changed
+5
-4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user