[Buildroot] [git commit branch/2021.05.x] package/mpv: fix reproducible build issues
Peter Korsgaard
peter at korsgaard.com
Wed Aug 4 13:43:03 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=0f9fedce531bf444b5c9782af5386a2273a5b5f7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.05.x
Do not include the build date when creating reproducible builds.
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 083b48194fc7d46278bb6c33355322bf02eaec47)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/mpv/mpv.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index 25ac783b52..30f377054f 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -28,6 +28,10 @@ MPV_CONF_OPTS = \
--disable-uchardet \
--disable-vapoursynth
+ifeq ($(BR2_REPRODUCIBLE),y)
+MPV_CONF_OPTS += --disable-build-date
+endif
+
ifeq ($(BR2_STATIC_LIBS),y)
MPV_CONF_OPTS += --disable-libmpv-shared --enable-libmpv-static
else
More information about the buildroot
mailing list