Mercurial > hg > openttd
changeset 6312:f4fee287f946 draft
(svn r9239) -Fix [FS#682]: PowerMac G5 CPU is not detected (oVRoM).
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 15 Mar 2007 23:26:47 +0000 |
parents | 21c7de9ceb09 |
children | 60afee707acc |
files | config.lib |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/config.lib +++ b/config.lib @@ -581,8 +581,8 @@ # 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` # If $host doesn't match $build , we are cross-compiling - if [ -n "$native" ] && [ "$build" != "$host" ]; then - $cc_build $SRC_DIR/os/macosx/G5_detector.cpp -o G5_detector + if [ -n "$native" ] && [ "$build" == "$host" ]; then + $cxx_build $SRC_DIR/os/macosx/G5_detector.cpp -o G5_detector res=`./G5_detector` rm -f G5_detector if [ -n "$res" ]; then