Skip to content

Commit 7d94c83

Browse files
committed
scripts: Set -m32 target arch for x86_64 to i686
1 parent 97d5be4 commit 7d94c83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build/arch/x86.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ CT_DoArchTupleValues() {
88
CT_TARGET_ARCH=x86_64
99
else
1010
arch="${CT_ARCH_ARCH}"
11+
# Check if this is a multilib target variant
12+
[ -z "${arch}" -a "${CT_TARGET_ARCH}" = "x86_64" ] && arch=i686
1113
[ -z "${arch}" ] && arch="${CT_ARCH_TUNE}"
1214
case "${arch}" in
1315
"") CT_TARGET_ARCH=i386;;

0 commit comments

Comments
 (0)