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 8 of 9] scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1274092243 -7200
# Node ID 5bb202a2c952720288b6133bc3a6f20da5e6aae1
# Parent  2294caf59a704064059a1a9c66c75b0708ac0409
scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS

The shell wrapper script uses a nonportable call to readlink.
Thus, always use the binary wrapper under BSD/MacOS.

diff -r 2294caf59a70 -r 5bb202a2c952 scripts/build/internals.sh
--- a/scripts/build/internals.sh	Mon May 17 12:27:32 2010 +0200
+++ b/scripts/build/internals.sh	Mon May 17 12:30:43 2010 +0200
@@ -42,6 +42,11 @@
         CT_DoLog EXTRA "Installing toolchain wrappers"
         CT_Pushd "${CT_PREFIX_DIR}/bin"
 
+        if [ "$CT_SYS_OS" = "Darwin" -o "$CT_SYS_OS" = "FreeBSD" ] ; then
+            # wrapper does not work (when using readlink -m)
+            CT_DoLog EXTRA "Forcing usage of binary wrappers"
+            CT_TOOLS_WRAPPER="exec"
+        fi
         # Install the wrapper
         case "${CT_TOOLS_WRAPPER}" in
             script)

--
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]