* [Buildroot] [PATCH 1/1] pkg-meson: Strip binaries on install
@ 2020-12-25 10:54 Gleb Mazovetskiy
0 siblings, 0 replies; only message in thread
From: Gleb Mazovetskiy @ 2020-12-25 10:54 UTC (permalink / raw)
To: buildroot
Strips binaries on install by adding `-Dstrip=true` to the default
configuration options.
Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
---
package/pkg-meson.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
index 3a34ba703b..7890219b20 100644
--- a/package/pkg-meson.mk
+++ b/package/pkg-meson.mk
@@ -88,6 +88,7 @@ define $(2)_CONFIGURE_CMDS
--buildtype=$(if $(BR2_ENABLE_DEBUG),debug,release) \
--cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \
-Dbuild.pkg_config_path=$$(HOST_DIR)/lib/pkgconfig \
+ -Dstrip=true \
$$($$(PKG)_CONF_OPTS) \
$$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build
endef
@@ -105,6 +106,7 @@ define $(2)_CONFIGURE_CMDS
--localstatedir=$$(HOST_DIR)/var \
--default-library=shared \
--buildtype=release \
+ -Dstrip=true \
$$($$(PKG)_CONF_OPTS) \
$$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build
endef
--
2.27.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-25 10:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25 10:54 [Buildroot] [PATCH 1/1] pkg-meson: Strip binaries on install Gleb Mazovetskiy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.