[Asterisk-bugs] [Asterisk 0010250]: [patch] allow extra flags for cross compilation

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 20 17:32:39 CDT 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=10250 
====================================================================== 
Reported By:                mirabilos
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10250
Category:                   Core/BuildSystem
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.4.7.1  
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 05:40 CDT
Last Modified:              07-20-2007 17:32 CDT
====================================================================== 
Summary:                    [patch] allow extra flags for cross compilation
Description: 
When cross-compiling, it is usually necessary to pass extra
CFLAGS and LDFLAGS to the build system from the parent build
environment, in this case, the FreeWRT ADK (trunk version).

Attached is a patch to provide this ability; feel free to
solve this with a different way though.

Cause of the problem: while CFLAGS and LDFLAGS are passed by
environment, the Makefiles do not add to them with += but
overwrite or just don't use them, so we have to pass them as
an additional make flag.

This patch is currently part of the FreeWRT ADK; I hereby
submit it for inclusion into upstream on behalf of the author,
my employer.

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

---------------------------------------------------------------------- 
 qwell - 07-20-07 17:32  
---------------------------------------------------------------------- 
Please verify licensing concerns in
http://bugs.digium.com/view.php?id=10252#67674 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 17:32  qwell          Note Added: 0067681                          
07-20-07 17:32  qwell          Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list