X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Fsystem%2Fubus%2FMakefile;fp=package%2Fsystem%2Fubus%2FMakefile;h=523c3629fc6709d3418068303311a7ef2fd289db;hp=7dc3c92deadbaf0e15d8e0135585b6e8cbc0e8c5;hb=154c0c4006daf41e2cbb6c8b7ad5557f83dfea3e;hpb=73fc67b61480a3430d31de33478a1c0c2c364b9c diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile index 7dc3c92dea..523c3629fc 100644 --- a/package/system/ubus/Makefile +++ b/package/system/ubus/Makefile @@ -47,7 +47,8 @@ define Package/libubus-lua TITLE:=Lua binding for the OpenWrt RPC client endef -TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include -flto +TARGET_LDFLAGS += -flto CMAKE_OPTIONS = \ -DLUAPATH=/usr/lib/lua