[asterisk-bugs] [Asterisk 0012974]: [patch] Don't override/duplicate optimization flags.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 10 21:32:37 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12974 
====================================================================== 
Reported By:                jcollie
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12974
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 127401 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-02-2008 10:35 CDT
Last Modified:              07-10-2008 21:32 CDT
====================================================================== 
Summary:                    [patch] Don't override/duplicate optimization flags.
Description: 
1) Don't add '-pipe' to ASTCFLAGS if it's already there.
2) Don't add '-Wall' to ASTCFLAGS if it's already there.
3) Don't add '-march' to ASTCFLAGS if it's already there.
====================================================================== 

---------------------------------------------------------------------- 
 jcollie - 07-10-08 21:32  
---------------------------------------------------------------------- 
To build the Asterisk packages for Fedora I need to specify special
compiler flags so that the Asterisk builds are compiled in a manner
consistent with the rest of the OS.  The Fedora compiler flags already
include "-pipe" "-Wall" and "-march=<something>" flags.  Duplicating the
flags seems to cause issues with GCC and prevents Asterisk from building
properly. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-10-08 21:32  jcollie        Note Added: 0090063                          
======================================================================




More information about the asterisk-bugs mailing list