[PATCH 1 of 2] scripts/build/companion_libs/libelf.sh: Use target ranlib

Titus von Boxberg titus@v9g.de
Sun Aug 21 20:01:00 GMT 2011


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1313942052 -7200
# Node ID bceb628fd2599a38f9fbb906db70d1781ed1c478
# Parent  b595540e1ff53f9336473755633a44e5c49c73c0
scripts/build/companion_libs/libelf.sh: Use target ranlib

For portability, the right ranlib for the target must be passed to
libelf's configure.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

diff -r b595540e1ff5 -r bceb628fd259 scripts/build/companion_libs/libelf.sh
--- a/scripts/build/companion_libs/libelf.sh	Sun Aug 21 13:41:58 2011 +0200
+++ b/scripts/build/companion_libs/libelf.sh	Sun Aug 21 17:54:12 2011 +0200
@@ -65,6 +65,7 @@
     CT_DoExecLog CFG                                        \
     CC="${CT_TARGET}-gcc"                                   \
     CFLAGS="-fPIC"                                          \
+    RANLIB="${CT_TARGET}-ranlib"                            \
     "${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure"   \
         --build=${CT_BUILD}                                 \
         --host=${CT_TARGET}                                 \

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



More information about the crossgcc mailing list