summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-12-31 09:07:31 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-31 10:57:54 (GMT)
commit37084ead509fa42db39637fcb837e7a99197c6c9 (patch)
tree1d73703a4eaada56f0dfbbcbbfe710b63109c0c4
parent7c04932603476f3adf474f3bc47c35bdb59d947a (diff)
downloadbuildroot-37084ead509fa42db39637fcb837e7a99197c6c9.tar.gz
buildroot-37084ead509fa42db39637fcb837e7a99197c6c9.tar.bz2
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: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/civetweb/civetweb.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index 4c8f4e8..b950890 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)