diff options
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index 8947c46129f..8f6b0a91fdd 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc @@ -28,6 +28,10 @@ EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor" EXTRA_OECONF:append:libc-musl = " --disable-hardening " +# Given the choice between stack protection and thumb, for sudo we pick thumb. +# https://github.com/sudo-project/sudo/issues/191 +ARM_INSTRUCTION_SET:armv5 = "arm" + do_compile:prepend () { # Remove build host references from sudo_usage.h sed -i \ |