From 1dc0c3b798a32e03d12acf3ec74b31778d346f1f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 25 Apr 2020 19:50:05 -0700 Subject: [PATCH] zstd: remove lto and as-needed flags The former can be implemented as a meson argument. The latter is already default. No compiled difference, therefore no PKG_RELEASE bump. Signed-off-by: Rosen Penev (cherry picked from commit 3c9dbc1429532d9d370d0b976ac812845b43a897) --- utils/zstd/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/zstd/Makefile b/utils/zstd/Makefile index e45daf94de..f968f6b4b0 100644 --- a/utils/zstd/Makefile +++ b/utils/zstd/Makefile @@ -74,10 +74,8 @@ MESON_ARGS += \ -Dbin_control=false \ -Dzlib=disabled \ -Dlzma=disabled \ - -Dlz4=disabled - -TARGET_CFLAGS += -flto -TARGET_LDFLAGS += -Wl,--as-needed + -Dlz4=disabled \ + -Db_lto=true define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include -- 2.30.2