boot/syslinux: fix gcc-10.x compile
authorPeter Seiderer <ps.report@gmx.net>
Sun, 7 Mar 2021 17:47:53 +0000 (18:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 20 Mar 2021 22:01:38 +0000 (23:01 +0100)
commita9f94d7aba750f36ff34b10a5e208e8529f53bcc
tree4d2e4008ef8356541076d15526d2e9f991aa4321
parentcbd2fa75b5f79a989f1b0510ed2272283bead13e
boot/syslinux: fix gcc-10.x compile

Add two patches ([1], [2]) taken from the fedora syslinux package ([3]) to fix
compile/linking with gcc-10.x compiler.

[1] https://src.fedoraproject.org/rpms/syslinux/raw/rawhide/f/0005-Workaround-multiple-definition-of-symbol-errors.patch
[2] https://src.fedoraproject.org/rpms/syslinux/raw/rawhide/f/0006-Replace-builtin-strlen-that-appears-to-get-optimized.patch
[3] https://src.fedoraproject.org/rpms/syslinux/tree/rawhide

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch [new file with mode: 0644]
boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch [new file with mode: 0644]