[FS#1101] luci bad gateway

LEDE Bugs lede-bugs at lists.infradead.org
Tue Oct 24 12:51:29 PDT 2017


The following task has a new comment added:

FS#1101 - luci bad gateway
User who did this - harrylwc (harrylwc)

----------
problem solved after adding CFLAG -O2 according https://patchwork.ozlabs.org/patch/804367/


diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
index 89b6a87..5f9a4ce 100644
--- a/package/utils/lua/Makefile
+++ b/package/utils/lua/Makefile
@@ -91,7 +91,7 @@ endef
 define Build/Configure
 endef

-TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
+TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99 -O2

 define Build/Compile
        $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \


----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1101#comment3685



More information about the lede-bugs mailing list