|
@@ -26,6 +26,10 @@ BASH_CONF_ENV += \
|
|
bash_cv_func_sigsetjmp=present \
|
|
bash_cv_func_sigsetjmp=present \
|
|
bash_cv_printf_a_format=yes
|
|
bash_cv_printf_a_format=yes
|
|
|
|
|
|
|
|
+ifeq ($(BR2_HOST_GCC_AT_LEAST_15),y)
|
|
|
|
+BASH_CONF_ENV += CFLAGS_FOR_BUILD="$(HOST_CFLAGS) -std=gnu17"
|
|
|
|
+endif
|
|
|
|
+
|
|
# The static build needs some trickery
|
|
# The static build needs some trickery
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
BASH_CONF_OPTS += --enable-static-link
|
|
BASH_CONF_OPTS += --enable-static-link
|