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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 18 08:17:51 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
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:                     ready for testing
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-09-18 08:17 CDT
====================================================================== 
Summary:                    [patch] 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-09-18 08:17 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list