diff options
author | rubidium <rubidium@openttd.org> | 2007-03-15 23:26:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-15 23:26:47 +0000 |
commit | 3a038ac2d8b681afd190690c5b1a622ebd856bb8 (patch) | |
tree | bd583065b57c39c917bc3c3bf175c239da89db6c | |
parent | 5b3b287883c534400f8475c07993458cb25a3457 (diff) | |
download | openttd-3a038ac2d8b681afd190690c5b1a622ebd856bb8.tar.xz |
(svn r9239) -Fix [FS#682]: PowerMac G5 CPU is not detected (oVRoM).
-rw-r--r-- | config.lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib index 6d509a5a9..c73df6ada 100644 --- a/config.lib +++ b/config.lib @@ -581,8 +581,8 @@ check_params() { # 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 |