[asterisk-bugs] [Asterisk 0015425]: No way to pass CFLAGS to non-module objects

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 30 05:44:00 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15425 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15425
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 204355 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-30 05:44 CDT
Last Modified:              2009-06-30 05:44 CDT
====================================================================== 
Summary:                    No way to pass CFLAGS to non-module objects
Description: 
When building an object that is not the main object in a module, extra
CFLAGS are not applied.

E.g. if I don't have support for PRI, I expect sig_pri not to build at
all. If we do have ti, it should use the PRI CFLAGS.

Terminology (could be improved):

module: something that can be "loaded" in Asterisk at run-time. E.g.
chan_dahdi, config, pbx_ael . 

object: Built from a single C/C++ source file. E.g. chan_dahdi.so is built
from chan_dahdi.c, sig_analog.c and sig_pri.c .

module object: chan_dahdi.c in the case of the module chan_dahdi.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-30 05:44 tzafrir        New Issue                                    
2009-06-30 05:44 tzafrir        Asterisk Version          => SVN             
2009-06-30 05:44 tzafrir        Regression                => No              
2009-06-30 05:44 tzafrir        SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-06-30 05:44 tzafrir        SVN Revision (number only!) => 204355          
======================================================================




More information about the asterisk-bugs mailing list