浏览代码

package/mpv: fix reproducible build issues

Do not include the build date when creating reproducible builds.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 083b48194fc7d46278bb6c33355322bf02eaec47)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls 4 年之前
父节点
当前提交
1824f3b134
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      package/mpv/mpv.mk

+ 4 - 0
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