projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac0b53a
)
Android hints: Set d_csh to undef in cross builds
author
Brian Fraser
<fraserbn@gmail.com>
Thu, 23 Jan 2014 22:41:22 +0000
(23:41 +0100)
committer
Brian Fraser
<fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:21 +0000
(14:44 -0300)
hints/linux-android.sh
patch
|
blob
|
history
diff --git
a/hints/linux-android.sh
b/hints/linux-android.sh
index
0f29059
..
7086d47
100644
(file)
--- 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"