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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 13:08:13 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10255 
====================================================================== 
Reported By:                mirabilos
Assigned To:                qwell
====================================================================== 
Project:                    Zaptel
Issue ID:                   10255
Category:                   General
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-20-2007 06:11 CDT
Last Modified:              06-07-2008 13:08 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).

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

---------------------------------------------------------------------- 
 svnbot - 06-07-08 13:08  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2825

_U  trunk/
U   trunk/Makefile

------------------------------------------------------------------------
r2825 | qwell | 2008-06-07 13:08:08 -0500 (Sat, 07 Jun 2008) | 13 lines

Merged revisions 2824 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

(closes issue http://bugs.digium.com/view.php?id=10255)
........
r2824 | qwell | 2007-08-06 15:31:25 -0500 (Mon, 06 Aug 2007) | 4 lines

Use host compiler to build gendigits

Issue 10255, initial patch by mirabilos, modified by me to work with 1.4.

........

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2825 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 13:08  svnbot         Note Added: 0088313                          
======================================================================




More information about the asterisk-bugs mailing list