[asterisk-bugs] [JIRA] Closed: (PRI-144) Allow passing compiler flags (CFLAGS, LDFLAGS)
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Wed Sep 26 10:47:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/PRI-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett closed PRI-144.
-------------------------------
Resolution: Fixed
> Allow passing compiler flags (CFLAGS, LDFLAGS)
> ----------------------------------------------
>
> Key: PRI-144
> URL: https://issues.asterisk.org/jira/browse/PRI-144
> Project: LibPRI
> Issue Type: Improvement
> Security Level: None
> Reporter: Tzafrir Cohen
> Assignee: Richard Mudgett
> Severity: Minor
> Attachments: flags.diff
>
>
> Libpri does not provide any simple way for the calling builder to pass building flags.
> Debian has for a long time carried a patch that made the first CFLAGS from '=' to '+='. The attached patch should make some of the build flags an overridable default, while the others as required. Note that I kept almost all of them as "required", but maybe some could be moved to the "default" line.
> I need to provide build flags as packages are now required to provide hardened build and do that through dpkg-buildflags.
> Note that Debian, following GNU autotools, uses three variables rather than two: CPPFLAGS (flags for the C pre-processor), CFLAGS and LDFLAGS. Though in many cases the first two will just map to CFLAGS.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list