[Asterisk-bugs] [Zaptel 0010255]: [patch] use host compiler for building host tools

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 20 11:04:21 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10255 
====================================================================== 
Reported By:                mirabilos
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10255
Category:                   General
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
Zaptel Version:              1.2.19  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-20-2007 06:11 CDT
Last Modified:              07-20-2007 11:04 CDT
====================================================================== 
Summary:                    [patch] use host compiler for building host tools
Description: 
If ${CC} is a cross-compiler, you cannot use it to build
programmes you need later in the build, use ${HOSTCC} or
${CC_FOR_BUILD} for that, where the latter is commonly used
by gcc's own build system and the former by most other cross-
compilation environments.

The attached diff is for the 1.2.x branch, BUT it's incomplete
(I couldn't easily dig out the relevant pieces of the other
diffs in FreeWRT), and the 1.4.x branch has the same problems
(where I couldn't separate it altogether).

====================================================================== 

---------------------------------------------------------------------- 
 mirabilos - 07-20-07 11:04  
---------------------------------------------------------------------- 
Both of them. At the moment, we're building
2.4.34 and 2.6.19.1 on the Mikrotik Routerboard
(and all other platforms except AR7, which uses
2.4.34 and 2.6.21.1). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 11:04  mirabilos      Note Added: 0067628                          
======================================================================




More information about the asterisk-bugs mailing list