[asterisk-bugs] [JIRA] Created: (PRI-144) Allow passing compiler flags (CFLAGS, LDFLAGS)
Tzafrir Cohen (JIRA)
noreply at issues.asterisk.org
Wed Sep 26 06:40:27 CDT 2012
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
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