CONFIGURE: Use "powerpc" instead of "ppc" as config.guess outputs

powerpc-* targets get detected properly again now
This commit is contained in:
Matthew Hoops 2015-01-18 16:58:03 -05:00
parent 79c902338b
commit e10512c8b9

12
configure vendored
View file

@ -1318,7 +1318,7 @@ ds)
;; ;;
gamecube) gamecube)
_host_os=gamecube _host_os=gamecube
_host_cpu=ppc _host_cpu=powerpc
_host_alias=powerpc-eabi _host_alias=powerpc-eabi
;; ;;
gp2x) gp2x)
@ -1386,7 +1386,7 @@ openpandora)
;; ;;
ppc-amigaos) ppc-amigaos)
_host_os=amigaos _host_os=amigaos
_host_cpu=ppc _host_cpu=powerpc
;; ;;
ps2) ps2)
_host_os=ps2 _host_os=ps2
@ -1398,7 +1398,7 @@ ps2)
;; ;;
ps3) ps3)
_host_os=ps3 _host_os=ps3
_host_cpu=ppc _host_cpu=powerpc
_host_alias=powerpc64-ps3-elf _host_alias=powerpc64-ps3-elf
# The prefix is always the same on PS3 so we hardcode the default # The prefix is always the same on PS3 so we hardcode the default
@ -1444,7 +1444,7 @@ webos)
;; ;;
wii) wii)
_host_os=wii _host_os=wii
_host_cpu=ppc _host_cpu=powerpc
_host_alias=powerpc-eabi _host_alias=powerpc-eabi
;; ;;
wince) wince)
@ -2004,7 +2004,7 @@ cc_check_clean tmp_find_type_with_size.cpp
# for the smaller sizes. # for the smaller sizes.
echo_n "Alignment required... " echo_n "Alignment required... "
case $_host_cpu in case $_host_cpu in
i[3-6]86 | amd64 | x86_64 | ppc*) i[3-6]86 | amd64 | x86_64 | powerpc*)
# Unaligned access should work # Unaligned access should work
_need_memalign=no _need_memalign=no
;; ;;
@ -2047,7 +2047,7 @@ case $_host_cpu in
echo "MIPS" echo "MIPS"
DEFINES="$DEFINES -DMIPS_TARGET" DEFINES="$DEFINES -DMIPS_TARGET"
;; ;;
ppc*) powerpc*)
echo "PowerPC" echo "PowerPC"
DEFINES="$DEFINES -DPPC_TARGET" DEFINES="$DEFINES -DPPC_TARGET"
;; ;;