diff options
-rw-r--r-- | meta/recipes-support/vim/vim_8.2.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/vim/vim_8.2.bb b/meta/recipes-support/vim/vim_8.2.bb index 60946a181f..709b6ddb55 100644 --- a/meta/recipes-support/vim/vim_8.2.bb +++ b/meta/recipes-support/vim/vim_8.2.bb | |||
@@ -8,3 +8,8 @@ BBCLASSEXTEND = "native" | |||
8 | ALTERNATIVE_${PN}_append = " xxd" | 8 | ALTERNATIVE_${PN}_append = " xxd" |
9 | ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" | 9 | ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" |
10 | ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" | 10 | ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" |
11 | |||
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 | # | ||
15 | lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}" | ||