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