summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/bash/bash_5.2.21.bb3
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
23DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" 23DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
24 24
25CFLAGS += "-std=gnu17" 25CFLAGS += "-std=gnu17"
26# mkbuiltins.c is built with native toolchain and needs gnu17 as well:
27# http://errors.yoctoproject.org/Errors/Details/853016/
28BUILD_CFLAGS += "-std=gnu17"
26 29
27BBCLASSEXTEND = "nativesdk" 30BBCLASSEXTEND = "nativesdk"