Просмотр исходного кода

Dpkg::Vendor::Debian: Enable fixdebugpath build flag feature by default

Closes: #832179
Signed-off-by: Guillem Jover <guillem@debian.org>
Mattia Rizzolo лет назад: 10
Родитель
Сommit
94852b0e89
3 измененных файлов с 4 добавлено и 2 удалено
  1. 2 0
      debian/changelog
  2. 1 1
      man/dpkg-buildflags.1
  3. 1 1
      scripts/Dpkg/Vendor/Debian.pm

+ 2 - 0
debian/changelog

@@ -12,6 +12,8 @@ dpkg (1.18.10) UNRELEASED; urgency=medium
     - Generate reproducible source tarballs by using the new GNU tar
       --clamp-mtime option in Dpkg::Source::Archive, to make sure no file
       in source packages has an mtime later than the changelog entry time.
+    - Enable fixdebugpath build flag feature by default.
+      Thanks to Mattia Rizzolo <mattia@debian.org>. Closes: #832179
   * Documentation:
     - Document Testsuite-Triggers in dsc(5).
     - Fix deb-changes(5) description to talk about .changes instead of .dsc.

+ 1 - 1
man/dpkg-buildflags.1

@@ -411,7 +411,7 @@ This will cause warnings when the \fB__TIME__\fP, \fB__DATE__\fP and
 .
 .TP
 .B fixdebugpath
-This setting (disabled by default) adds
+This setting (enabled by default) adds
 .BI \%\-fdebug\-prefix\-map= BUILDPATH =.
 to \fBCFLAGS\fP, \fBCXXFLAGS\fP, \fBOBJCFLAGS\fP, \fBOBJCXXFLAGS\fP,
 \fBGCJFLAGS\fP, \fBFFLAGS\fP and \fBFCFLAGS\fP where \fBBUILDPATH\fP is

+ 1 - 1
scripts/Dpkg/Vendor/Debian.pm

@@ -158,7 +158,7 @@ sub _add_reproducible_flags {
     # Default feature states.
     my %use_feature = (
         timeless => 1,
-        fixdebugpath => 0,
+        fixdebugpath => 1,
     );
 
     my $build_path;