mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01:00
vim will abort in many places with this setting. Replace it with the benign _FORTIFY_SOURCE=1. (From OE-Core rev: d9de155f6452f916edd3131addd0c2eebaf4d639) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 18129cbaeddb3278efe9963718556e3765f06c1e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
472 B
BlitzBasic
16 lines
472 B
BlitzBasic
require vim.inc
|
|
|
|
PROVIDES = "xxd"
|
|
|
|
PACKAGECONFIG_class-native = ""
|
|
BBCLASSEXTEND = "native"
|
|
|
|
ALTERNATIVE_${PN}_append = " xxd"
|
|
ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
|
|
ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
|
|
|
|
# We override the default in security_flags.inc because vim (not vim-tiny!) will abort
|
|
# in many places for _FORTIFY_SOURCE=2. Security flags become part of CC.
|
|
#
|
|
lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"
|