[apparmor] [PATCH 01/12] parser: Honor USE_SYSTEM make variable in libapparmor_re
Seth Arnold
seth.arnold at canonical.com
Sat Feb 14 01:19:09 UTC 2015
On Wed, Dec 10, 2014 at 04:12:22PM -0600, Tyler Hicks wrote:
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
> ---
> parser/libapparmor_re/Makefile | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/parser/libapparmor_re/Makefile b/parser/libapparmor_re/Makefile
> index df205b1..bb22b5a 100644
> --- a/parser/libapparmor_re/Makefile
> +++ b/parser/libapparmor_re/Makefile
> @@ -1,10 +1,17 @@
> # Profiling:
> #EXTRA_CFLAGS = -pg
>
> +ifdef USE_SYSTEM
> + # Using the system libapparmor
> + INCLUDE_APPARMOR =
> +else
> + INCLUDE_APPARMOR = -I../../libraries/libapparmor/include
> +endif
> +
> TARGET=libapparmor_re.a
>
> CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS} -std=gnu++0x
> -CXXFLAGS := ${CFLAGS}
> +CXXFLAGS := ${CFLAGS} ${INCLUDE_APPARMOR}
>
> ARFLAGS=-rcs
>
> --
> 2.1.0
>
>
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150213/b223503e/attachment.pgp>
More information about the AppArmor
mailing list