aboutsummaryrefslogtreecommitdiffstats
path: root/linux/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'linux/scripts')
-rwxr-xr-xlinux/scripts/xz_wrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/scripts/xz_wrap.sh b/linux/scripts/xz_wrap.sh
index 17a5798c29da..7a2d372f4885 100755
--- a/linux/scripts/xz_wrap.sh
+++ b/linux/scripts/xz_wrap.sh
@@ -12,8 +12,8 @@
BCJ=
LZMA2OPTS=
-case $ARCH in
- x86|x86_64) BCJ=--x86 ;;
+case $SRCARCH in
+ x86) BCJ=--x86 ;;
powerpc) BCJ=--powerpc ;;
ia64) BCJ=--ia64; LZMA2OPTS=pb=4 ;;
arm) BCJ=--arm ;;