Patchwork [2,of,3] debug/strace: enforce cross-compilation

login
register
mail settings
Submitter Samuel Martin
Date March 16, 2013, 3:04 p.m.
Message ID <24b6540a08cbca7ee1fa.1363446263@laptop>
Download mbox | patch
Permalink /patch/228220/
State Accepted
Commit ab7168481db5
Headers show

Comments

Samuel Martin - March 16, 2013, 3:04 p.m.
# HG changeset patch
# User "Samuel Martin" <s.martin49@gmail.com>
# Date 1363445276 -3600
# Node ID 24b6540a08cbca7ee1faaabb980ef584e124f2ee
# Parent  ca85cad85c4dd20e74f1514c520882fa1b4e9bb5
debug/strace: enforce cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>


--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN - March 16, 2013, 10:46 p.m.
Samuel, All,

Your patch:
    debug/strace: enforce cross-compilation

has been applied as: #ab7168481db5
    http://crosstool-ng.org/hg/crosstool-ng/rev/ab7168481db5

Thank you!

Regards,
Yann E. MORIN.



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

Patch

diff -r ca85cad85c4d -r 24b6540a08cb scripts/build/debug/500-strace.sh
--- a/scripts/build/debug/500-strace.sh	Sat Mar 16 15:46:45 2013 +0100
+++ b/scripts/build/debug/500-strace.sh	Sat Mar 16 15:47:56 2013 +0100
@@ -19,6 +19,9 @@ 
 
     CT_DoLog EXTRA "Configuring strace"
     CT_DoExecLog CFG                                        \
+    CC="${CT_TARGET}-gcc"                                   \
+    CPP="${CT_TARGET}-cpp"                                  \
+    LD="${LD_TARGET}-ld"                                    \
     "${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure"   \
         --build=${CT_BUILD}                                 \
         --host=${CT_TARGET}                                 \