aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-25 19:50:05 -0700
committerRosen Penev <rosenp@gmail.com>2020-04-26 16:21:55 -0700
commit3c9dbc1429532d9d370d0b976ac812845b43a897 (patch)
tree0bf33cae3c3d98fcd9b1db3483c4fea49a48f784
parent66caa56841c4c75c269a59b55ce89b0e1000e342 (diff)
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 <rosenp@gmail.com>
-rw-r--r--utils/zstd/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/zstd/Makefile b/utils/zstd/Makefile
index e45daf94d..f968f6b4b 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