diff options
-rw-r--r-- | meta/recipes-extended/bash/bash_5.2.21.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash_5.2.21.bb b/meta/recipes-extended/bash/bash_5.2.21.bb index 42ab02c440..7652e7d87a 100644 --- a/meta/recipes-extended/bash/bash_5.2.21.bb +++ b/meta/recipes-extended/bash/bash_5.2.21.bb | |||
@@ -23,5 +23,8 @@ DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb | |||
23 | DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" | 23 | DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" |
24 | 24 | ||
25 | CFLAGS += "-std=gnu17" | 25 | CFLAGS += "-std=gnu17" |
26 | # mkbuiltins.c is built with native toolchain and needs gnu17 as well: | ||
27 | # http://errors.yoctoproject.org/Errors/Details/853016/ | ||
28 | BUILD_CFLAGS += "-std=gnu17" | ||
26 | 29 | ||
27 | BBCLASSEXTEND = "nativesdk" | 30 | BBCLASSEXTEND = "nativesdk" |