[apparmor] [patch] Have the parser makefile honor CFLAGS environment variable

John Johansen john.johansen at canonical.com
Sat Oct 9 09:02:18 BST 2010


On 10/08/2010 06:33 PM, Steve Beattie wrote:
> This patch makes the parser's makefile honor CFLAGS that have been
> exported in the environment. Without it, merely setting the CFLAGS
> environment variable would not affect the compilation of the parser,
> though it was still possible to override it by passing the variable as
> an argument (e.g. make all CFLAGS="-Oinsane -Wextra-special").
> 
> It also makes the default CFLAGS for the parser consistent with
> the default for the C++ dfa library, and passes the flags on to
> the library.
> 
> An audit of the other bits of C showed that they either supported
> CFLAGS during configure or were otherwise honoring CFLAGS when set
> as environment variable.
> 
> I'm also nominating this patch for 2.5.2.

ACK



More information about the AppArmor mailing list