From 37084ead509fa42db39637fcb837e7a99197c6c9 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 31 Dec 2013 11:07:31 +0200 Subject: [PATCH] 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 --- package/civetweb/civetweb.mk | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.30.2