mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
Fix cpu type normalization in configure script
This condition was added for cygwin support but appears to simply turn off the normalization of CPU types
This commit is contained in:
parent
30b1957cd4
commit
32b8c0eaac
3
configure
vendored
3
configure
vendored
|
@ -308,8 +308,6 @@ case $CFG_OSTYPE in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$CFG_CPUTYPE" ]
|
|
||||||
then
|
|
||||||
case $CFG_CPUTYPE in
|
case $CFG_CPUTYPE in
|
||||||
|
|
||||||
i386 | i486 | i686 | i786 | x86)
|
i386 | i486 | i686 | i786 | x86)
|
||||||
|
@ -327,7 +325,6 @@ case $CFG_CPUTYPE in
|
||||||
*)
|
*)
|
||||||
err "unknown CPU type: $CFG_CPUTYPE"
|
err "unknown CPU type: $CFG_CPUTYPE"
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
|
|
||||||
# Detect 64 bit linux systems with 32 bit userland and force 32 bit compilation
|
# Detect 64 bit linux systems with 32 bit userland and force 32 bit compilation
|
||||||
if [ $CFG_OSTYPE = unknown-linux-gnu -a $CFG_CPUTYPE = x86_64 ]
|
if [ $CFG_OSTYPE = unknown-linux-gnu -a $CFG_CPUTYPE = x86_64 ]
|
||||||
|
|
Loading…
Reference in a new issue