[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 14:17:47 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 14:17 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).

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

---------------------------------------------------------------------- 
 qwell - 07-20-07 14:17  
---------------------------------------------------------------------- 
You are pulling these diffs from FreeWRT? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 14:17  qwell          Note Added: 0067652                          
======================================================================




More information about the asterisk-bugs mailing list