~sbeattie/apparmor/apparmor-build-testbranch

Viewing all changes in revision 1514.

  • Committer: Steve Beattie
  • Date: 2010-10-09 21:15:59 UTC
  • Revision ID: sbeattie@ubuntu.com-20101009211559-qegzevsf89ciw5gu
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: