mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-20 13:27:16 +00:00

Fixes #11756 This fixes the following build error with newer binutils: objcopy -O binary mbr.elf mbr.bin perl /build/syslinux/src/syslinux/mbr/checksize.pl mbr.bin mbr.bin: too big (452 > 440) Corresponding bug reports: - https://bugs.archlinux.org/task/60405 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414 Strip the .note.gnu.property in the linker scripts for the MBRs. Signed-off-by: Christian Stewart <christian@paral.in> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 0ca17cdc925124d1b309788518e9d4834b9b2557) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>