From: Baruch Siach Date: Tue, 31 Dec 2013 09:07:31 +0000 (+0200) Subject: civetweb: fix build for xtensa X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37084ead509fa42db39637fcb837e7a99197c6c9;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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)