summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_netbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-xbin/reproducible_netbsd.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 2d1dd361..bd6381f7 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -59,6 +59,12 @@ echo "This is netbsd $NETBSD_VERSION."
echo
git log -1
+# from $src/share/mk/bsd.README:
+# MKREPRO If "yes", create reproducable builds. This enables
+# different switches to make two builds from the same source tree
+# result in the same build results.
+export MKREPRO="yes"
+
echo "============================================================================="
echo "$(date -u) - Building netbsd ${NETBSD_VERSION} - first build run."
echo "============================================================================="