diff options
| author | Andre Heider <a.heider@gmail.com> | 2023-03-23 09:53:12 +0100 |
|---|---|---|
| committer | Nick Hainke <vincent@systemli.org> | 2023-04-13 07:46:21 +0200 |
| commit | e2eb84791c7476d3c2a9a505b9baf41838520d0d (patch) | |
| tree | 8b3e310f7c650eb6202fa8dacede894ec0cbd2e6 /alfred | |
| parent | 67ad3b9b9686855b01d5353da5d876b7b1274ef6 (diff) | |
treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'alfred')
| -rw-r--r-- | alfred/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/alfred/Makefile b/alfred/Makefile index 81ce841..c5fceab 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -15,7 +15,7 @@ PKG_LICENSE:=GPL-2.0-only MIT PKG_LICENSE_FILES:=LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT PKG_BUILD_PARALLEL:=1 -PKG_BUILD_FLAGS:=gc-sections +PKG_BUILD_FLAGS:=gc-sections lto PKG_CONFIG_DEPENDS += \ CONFIG_ALFRED_NEEDS_lua \ @@ -68,9 +68,6 @@ MAKE_FLAGS += \ LIBNL_GENL_NAME="libnl-tiny" \ REVISION="$(PKG_VERSION)-openwrt-$(PKG_RELEASE)" -TARGET_CFLAGS += -flto -TARGET_LDFLAGS += -fuse-linker-plugin - define Package/alfred/install $(INSTALL_DIR) $(1)/usr/sbin cp -fpR $(PKG_BUILD_DIR)/alfred $(1)/usr/sbin/ |
