mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r9239) -Fix [FS#682]: PowerMac G5 CPU is not detected (oVRoM).
This commit is contained in:
parent
99577265de
commit
e4e90ee1dd
@ -581,8 +581,8 @@ check_params() {
|
|||||||
# First, are we a real OSX system, else we can't detect it
|
# First, are we a real OSX system, else we can't detect it
|
||||||
native=`LC_ALL=C uname | tr '[A-Z]' '[a-z]' | grep darwin`
|
native=`LC_ALL=C uname | tr '[A-Z]' '[a-z]' | grep darwin`
|
||||||
# If $host doesn't match $build , we are cross-compiling
|
# If $host doesn't match $build , we are cross-compiling
|
||||||
if [ -n "$native" ] && [ "$build" != "$host" ]; then
|
if [ -n "$native" ] && [ "$build" == "$host" ]; then
|
||||||
$cc_build $SRC_DIR/os/macosx/G5_detector.cpp -o G5_detector
|
$cxx_build $SRC_DIR/os/macosx/G5_detector.cpp -o G5_detector
|
||||||
res=`./G5_detector`
|
res=`./G5_detector`
|
||||||
rm -f G5_detector
|
rm -f G5_detector
|
||||||
if [ -n "$res" ]; then
|
if [ -n "$res" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user