diff mbox

checkpolicy: set flex as default lexer

Message ID 1463435592-30980-1-git-send-email-roidelapluie@inuits.eu (mailing list archive)
State Not Applicable
Headers show

Commit Message

Julien Pivotto May 16, 2016, 9:53 p.m. UTC
This makes the checkpolicy Makefile consistent with the Makefile present
in libsemanage and libsepol.
---
 checkpolicy/Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Smalley May 19, 2016, 6:34 p.m. UTC | #1
On 05/16/2016 05:53 PM, Julien Pivotto wrote:
> This makes the checkpolicy Makefile consistent with the Makefile present
> in libsemanage and libsepol.

Thanks, applied.  Please add Signed-off-by lines in the future (git
commit -s option will do so automatically for you).

> ---
>  checkpolicy/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/checkpolicy/Makefile b/checkpolicy/Makefile
> index e5fae3d..53a3074 100644
> --- a/checkpolicy/Makefile
> +++ b/checkpolicy/Makefile
> @@ -8,6 +8,7 @@ LIBDIR ?= $(PREFIX)/lib
>  INCLUDEDIR ?= $(PREFIX)/include
>  TARGETS = checkpolicy checkmodule
>  
> +LEX = flex
>  YACC = bison -y
>  
>  CFLAGS ?= -g -Wall -Werror -Wshadow -O2 -pipe -fno-strict-aliasing
>
diff mbox

Patch

diff --git a/checkpolicy/Makefile b/checkpolicy/Makefile
index e5fae3d..53a3074 100644
--- a/checkpolicy/Makefile
+++ b/checkpolicy/Makefile
@@ -8,6 +8,7 @@  LIBDIR ?= $(PREFIX)/lib
 INCLUDEDIR ?= $(PREFIX)/include
 TARGETS = checkpolicy checkmodule
 
+LEX = flex
 YACC = bison -y
 
 CFLAGS ?= -g -Wall -Werror -Wshadow -O2 -pipe -fno-strict-aliasing