On Fri, Mar 06, 2015 at 03:48:17PM -0600, Tyler Hicks wrote:
> Signed-off-by: Tyler Hicks <[email protected]>
> Acked-by: Seth Arnold <[email protected]>
Acked-by: Steve Beattie <[email protected]>

> ---
>  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
>  

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to