Commit 37084ead authored by Baruch Siach's avatar Baruch Siach Committed by Thomas Petazzoni
Browse files

civetweb: fix build for xtensa

The civetweb package bundled sqlite3 generates an object that is too large for
the xtensa default placement of literals in a dedicated section. Use
-mtext-section-literal to place literals in the text section.

Fixes
http://autobuild.buildroot.net/results/d14/d142f3ce17ab22cc39f9117c114318c1b5cadfc5/

.

Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 7c049326
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)