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

login
register
mail settings
Submitter Samuel Martin
Date March 16, 2013, 3:04 p.m.
Message ID <69772732f551aa342a2c.1363446264@laptop>
Download mbox | patch
Permalink /patch/228221/
State Accepted
Commit 0fc56e62cecf
Headers show

Comments

Samuel Martin - March 16, 2013, 3:04 p.m.
# HG changeset patch
# User "Samuel Martin" <s.martin49@gmail.com>
# Date 1363444424 -3600
# Node ID 69772732f551aa342a2c39fb30ff7b2da3b1e951
# Parent  24b6540a08cbca7ee1faaabb980ef584e124f2ee
debug/dmalloc: 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:47 p.m.
Samuel, All,

Your patch:
    debug/dmalloc: enforce cross-compilation

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

Thank you!

Regards,
Yann E. MORIN.



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

Patch

diff -r 24b6540a08cb -r 69772732f551 scripts/build/debug/100-dmalloc.sh
--- a/scripts/build/debug/100-dmalloc.sh	Sat Mar 16 15:47:56 2013 +0100
+++ b/scripts/build/debug/100-dmalloc.sh	Sat Mar 16 15:33:44 2013 +0100
@@ -34,6 +34,9 @@ 
     CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
 
     CT_DoExecLog CFG                                            \
+    CC="${CT_TARGET}-gcc"                                       \
+    CXX="${CT_TARGET}-g++"                                      \
+    CPP="${CT_TARGET}-cpp"                                      \
     LD="${CT_TARGET}-ld"                                        \
     AR="${CT_TARGET}-ar"                                        \
     CFLAGS=-fPIC                                                \