From 081c3f5046f7dc6414b133a6c9a5aac8d97c900f Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Thu, 23 Jan 2014 23:41:22 +0100 Subject: [PATCH] Android hints: Set d_csh to undef in cross builds --- hints/linux-android.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 0f29059..7086d47 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -257,6 +257,16 @@ define) if $test "X$hostosname" = "Xdarwin"; then firstmakefile=GNUmakefile; fi + +# When cross-compiling, full_csh and d_csh will get the +# host's values, which is all sorts of wrong. So unless +# full_csh has been set on the command line, set d_csh to +# undef. +case "$full_csh" in +'') d_csh="$undef" +;; +esac + ;; *) ldflags="$ldflags -L/system/lib" -- 2.7.4