kumquat-buildroot/package/checkpolicy
Adam Duskett b869760f11 checkpolicy: add patch to fix flex related build failure
When building checkpolicy/test, the linker reports the following error:

    cc   dispol.o  -lfl /usr/src/selinux/DESTDIR/usr/lib/libsepol.a -L/usr/src/selinux/DESTDIR/usr/lib -o dispol
    /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libfl.so: undefined reference to `yylex'
    collect2: error: ld returned 1 exit status

According to flex documentation
(https://github.com/westes/flex/blob/master/doc/flex.texi), -lfl is used
to provide an implementation for yywrap(). However every flex file now
uses "%option noyywrap", which makes -lfl no longer mandatory. Remove
this option from checkpolicy Makefiles.

Patch taken from https://patchwork.kernel.org/patch/9450549/

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-23 15:50:39 +02:00
..
0001-checkpolicy-remove-lfl-from-LDLIBS.patch checkpolicy: add patch to fix flex related build failure 2017-05-23 15:50:39 +02:00
checkpolicy.hash
checkpolicy.mk
Config.in package/c*/Config.in: fix ordering of statements 2017-04-29 21:12:10 +02:00
Config.in.host