diff options
author | Adam Duskett <Adamduskett@outlook.com> | 2017-05-23 15:50:39 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-23 15:50:39 +0200 |
commit | b869760f11f148a06027e63c0d0bbccb55a217f3 (patch) | |
tree | c94aa47fda11950645ad942f4b32dab9a75879a0 /package/python-service-identity | |
parent | 41ee484bafe402cfadcf1d480b7c8b44bf206af1 (diff) | |
download | buildroot-b869760f11f148a06027e63c0d0bbccb55a217f3.tar.gz buildroot-b869760f11f148a06027e63c0d0bbccb55a217f3.zip |
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>
Diffstat (limited to 'package/python-service-identity')
0 files changed, 0 insertions, 0 deletions