[Pkg-openldap-devel] [openldap] 05/13: Disable -Wformat-extra-args

Ryan Tandy rtandy-guest at moszumanska.debian.org
Fri Jul 28 03:20:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

rtandy-guest pushed a commit to branch master
in repository openldap.

commit af2b3dec6abb0ed0b47ead160d626485492f900e
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Fri Jul 21 21:59:41 2017 -0700

    Disable -Wformat-extra-args
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0ea5ea1..718d501 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ openldap (2.4.45+dfsg-1) UNRELEASED; urgency=medium
     - Stop enabling parallel and autoreconf explicitly. They are now enabled 
       by default.
     - Drop dh-autoreconf from build-depends since debhelper requires it.
+  * Add -Wno-format-extra-args to CFLAGS to reduce the noise in the build 
+    logs, as this warning is emitted on each use of the Debug() macro.
 
  -- Ryan Tandy <ryan at nardis.ca>  Mon, 17 Jul 2017 20:30:07 -0700
 
diff --git a/debian/rules b/debian/rules
index 581edc4..4034f46 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 # want the checks for DFSG-freeness.
 #DFSG_NONFREE = 1
 
-export DEB_CFLAGS_MAINT_APPEND := -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+export DEB_CFLAGS_MAINT_APPEND := -Wall -Wno-format-extra-args -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow
 
 # Workaround for bad glibc behavior when resolving localhost

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list