[crda] 14/16: debian/rules: Pass dpkg build flags to Makefile (Closes: #784917)

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Wed Jan 18 02:22:56 UTC 2017


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

benh pushed a commit to branch master
in repository crda.

commit 25fa19eba43181556b8bc8c7c5b32b490d960230
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Wed Jan 18 01:31:08 2017 +0000

    debian/rules: Pass dpkg build flags to Makefile (Closes: #784917)
---
 debian/changelog | 1 +
 debian/rules     | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b3f4c2b..dd9a5b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ crda (3.18-1) UNRELEASED; urgency=medium
   * debian/copyright: Change Source to HTTP-S URL
   * Use debhelper compatibility level 9
   * debian/control: Update Standards-Version to 3.9.8; no changes needed
+  * debian/rules: Pass dpkg build flags to Makefile (Closes: #784917)
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sun, 30 Aug 2015 13:07:58 +0100
 
diff --git a/debian/rules b/debian/rules
index dc4dcfe..a7c5f63 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
-export CFLAGS = -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 export LIBDIR = /lib/crda
 export LDLIBREG = -Wl,-rpath,$(LIBDIR)
 export REG_BIN = /lib/crda/regulatory.bin

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



More information about the Kernel-svn-changes mailing list