diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk index 4c8f4e88fb..b950890608 100644 --- a/package/civetweb/civetweb.mk +++ b/package/civetweb/civetweb.mk @@ -25,6 +25,9 @@ endif ifeq ($(BR2_CIVETWEB_WITH_LUA),y) CIVETWEB_CONF_OPT += WITH_LUA=1 +ifeq ($(BR2_xtensa),y) + CIVETWEB_COPT += -mtext-section-literals +endif endif ifeq ($(BR2_PACKAGE_OPENSSL),y)