blob: 709b6ddb55668ae3afe543aae5496fd56d1fb1ec [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001require vim.inc
2
3PROVIDES = "xxd"
4
5PACKAGECONFIG_class-native = ""
6BBCLASSEXTEND = "native"
7
8ALTERNATIVE_${PN}_append = " xxd"
9ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
10ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
Andrew Geissler5a43b432020-06-13 10:46:56 -050011
12# We override the default in security_flags.inc because vim (not vim-tiny!) will abort
13# in many places for _FORTIFY_SOURCE=2. Security flags become part of CC.
14#
15lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"