Summary: | ASTERISK-12299: [patch] Don't override/duplicate optimization flags. | ||
Reporter: | Jeffrey C. Ollie (jcollie) | Labels: | |
Date Opened: | 2008-07-02 10:35:22 | Date Closed: | 2008-07-29 17:52:38 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 0001-Don-t-override-duplicate-optimization-flags.patch | |
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. ****** ADDITIONAL INFORMATION ****** Patch attached. | ||
Comments: | By: Tilghman Lesher (tilghman) 2008-07-10 15:32:15 Could you describe what problem this patch solves? By: Jeffrey C. Ollie (jcollie) 2008-07-10 21:32:36 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. By: Jeffrey C. Ollie (jcollie) 2008-07-29 14:31:40 Ping? By: Digium Subversion (svnbot) 2008-07-29 17:52:36 Repository: asterisk Revision: 134312 U trunk/Makefile ------------------------------------------------------------------------ r134312 | tilghman | 2008-07-29 17:52:35 -0500 (Tue, 29 Jul 2008) | 6 lines Minor changes to reduce packaging changes made by the Fedora maintainer. (closes issue ASTERISK-12299) Reported by: jcollie Patches: 0001-Don-t-override-duplicate-optimization-flags.patch uploaded by jcollie (license 412) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=134312 |