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
Config.in package/c*/Config.in: fix ordering of statements 2017-04-29 21:12:10 +02:00
Config.in.host
checkpolicy.hash checkpolicy: bump version to 2.6 2017-01-25 23:25:26 +13:00
checkpolicy.mk checkpolicy: allow compiling for target 2017-04-09 15:30:02 +02:00