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>
This commit is contained in:
parent
7c04932603
commit
37084ead50
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user