This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Dont use wrapper script in case of canadian build


# HG changeset patch
# User Bart vdr. Meulen <bartvdrmeulen@gmail.com>
# Date 1249226323 -7200
# Node ID e02f3efe036e52b3fd5f8405d8c0a96c8bfdc592
# Parent  5820df7ee48aecf7ef7f7bb3a949ed5868e9c24b
Dont use wrapper script in case of canadian build

When making a canadian build, it's unkown whether the target system
supports a bash-like shell. So don't apply the wrapper script for
the binaries.

Signed-off-by Bart vdr. Meulen <bartvdrmeulen@gmail.com>

--

diff -r 5820df7ee48a -r e02f3efe036e scripts/build/internals.sh
--- a/scripts/build/internals.sh	Sun Aug 02 16:45:43 2009 +0200
+++ b/scripts/build/internals.sh	Sun Aug 02 17:18:43 2009 +0200
@@ -41,8 +41,11 @@
 
     # If using the companion libraries, we need a wrapper
     # that will set LD_LIBRARY_PATH approriately
-    if [    "${CT_GMP_MPFR}" = "y"      \
-         -o "${CT_PPL_CLOOG_MPC}" = "y" ]; then
+    # Note, when building a Canadian compiler, we don't
+    # known if a bash-like shell  is available, 
+    # so skip the wrapper in that case
+    if [ \( "${CT_GMP_MPFR}" = "y" -o "${CT_PPL_CLOOG_MPC}" = "y" \) \
+         -a -z "${CT_CANADIAN}" ]; then
         CT_DoLog EXTRA "Installing toolchain wrappers"
         CT_Pushd "${CT_PREFIX_DIR}/bin"
 



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]