File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -299,13 +299,20 @@ get_architecture() {
299
299
300
300
esac
301
301
302
- # Detect 64-bit linux with 32-bit userland
302
+ # Detect 64-bit linux with 32-bit userland for x86
303
303
if [ $_ostype = unknown-linux-gnu -a $_cputype = x86_64 ]; then
304
304
if [ " $( get_bitness) " = " 32" ]; then
305
305
local _cputype=i686
306
306
fi
307
307
fi
308
308
309
+ # Detect 64-bit linux with 32-bit userland for powerpc
310
+ if [ $_ostype = unknown-linux-gnu -a $_cputype = powerpc64 ]; then
311
+ if [ " $( get_bitness) " = " 32" ]; then
312
+ local _cputype=powerpc
313
+ fi
314
+ fi
315
+
309
316
# Detect armv7 but without the CPU features Rust needs in that build,
310
317
# and fall back to arm.
311
318
# See https://github.com/rust-lang/rustup.rs/issues/587.
You can’t perform that action at this time.
0 commit comments