[Reproducible-commits] [dpkg] 39/54: Dpkg::Vendor::Debian: Enable timeless build flag feature by default
Mattia Rizzolo
mattia at debian.org
Fri Jan 15 18:54:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit 0258d07b2a8adcdb524702fb6d83366191263679
Author: Paul Wise <pabs at debian.org>
Date: Tue Dec 22 02:15:12 2015 +0100
Dpkg::Vendor::Debian: Enable timeless build flag feature by default
Closes: #805872
Signed-off-by: Guillem Jover <guillem at debian.org>
---
debian/changelog | 2 ++
man/dpkg-buildflags.1 | 2 +-
scripts/Dpkg/Vendor/Debian.pm | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a017d26..41eafd1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,8 @@ dpkg (1.18.4) UNRELEASED; urgency=medium
* Fix usage of dpkg-architecture -s after other action options.
Reported by Niels Thykier <niels at thykier.net>.
* Add NIOS2 support to cputable. Thanks to Marek Vasut <marex at denx.de>.
+ * On Debian and derivatives enable timeless build flag feature by default.
+ Thanks to Paul Wise <pabs at debian.org>. Closes: #805872
* Test suite:
- Improve perl code test coverage.
* Build system:
diff --git a/man/dpkg-buildflags.1 b/man/dpkg-buildflags.1
index f484eaa..c86b01a 100644
--- a/man/dpkg-buildflags.1
+++ b/man/dpkg-buildflags.1
@@ -369,7 +369,7 @@ compilation. Except as noted below, these are enabled by default for
architectures that support them.
.TP
.B timeless
-This setting (disabled by default) adds
+This setting (enabled by default) adds
.B \-Wdate\-time
to \fBCPPFLAGS\fP.
This will cause warnings when the \fB__TIME__\fP, \fB__DATE__\fP and
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 9b40e7a..db40b2c 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -157,7 +157,7 @@ sub _add_reproducible_flags {
# Default feature states.
my %use_feature = (
- timeless => 0,
+ timeless => 1,
);
# Adjust features based on user or maintainer's desires.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list