summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-13 23:08:03 +0000
committerrubidium <rubidium@openttd.org>2009-07-13 23:08:03 +0000
commitf7c47110122c1e9a346d444d4c71c2cc5f43f10b (patch)
tree86a8ffb82a6a19ec7e07b736bec707496ab9cbee /config.lib
parent64cc21855f69c5949d6f9d67c223af63df2b2008 (diff)
downloadopenttd-f7c47110122c1e9a346d444d4c71c2cc5f43f10b.tar.xz
(svn r16823) -Cleanup: use cxx_host instead of cc_host where possible; cc_host is there only for working around a few stupid compilers.
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib
index 1a9510e27..f16ecd71e 100644
--- a/config.lib
+++ b/config.lib
@@ -1613,7 +1613,7 @@ check_strip() {
elif [ "$os" = "OSX" ]; then
# Most targets have -V in strip, to see if they exists... OSX doesn't.. so execute something
echo "int main(int argc, char *argv[]) { }" > strip.test.c
- $cc_host strip.test.c -o strip.test
+ $cxx_host strip.test.c -o strip.test
check_compiler "host strip" "strip" "$host" "$strip" "$STRIP" "strip" "strip" "3" "strip.test"
rm -f strip.test.c strip.test
else
@@ -1624,7 +1624,7 @@ check_strip() {
check_lipo() {
if [ "$os" = "OSX" ] && [ "$enable_universal" != "0" ]; then
echo "int main(int argc, char *argv[]) { }" > lipo.test.c
- $cc_host lipo.test.c -o lipo.test
+ $cxx_host lipo.test.c -o lipo.test
check_compiler "host lipo" "lipo" "$host" "$lipo" "$LIPO" "lipo" "lipo" "4" "-info lipo.test"
rm -f lipo.test.c lipo.test
fi