summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2017-09-13 18:52:36 +0300
committerDmitry Shachnev <mitya57@gmail.com>2017-09-13 18:52:36 +0300
commit2cd5d3c013330d09d339b5f64eaed66925a2db54 (patch)
tree47710ce927207e505d273b9010830b66b04bb7bc
parent867e113687c1a0f0b7a8298a7aef523f4d9509c2 (diff)
downloadqt5webkit-2cd5d3c013330d09d339b5f64eaed66925a2db54.tar.gz
Add -DNDEBUG to CPPFLAGS to disable debug output.
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 13ad470..f107824 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
qtwebkit-opensource-src (5.212.0~alpha2-2) UNRELEASED; urgency=medium
+ [ Dmitry Shachnev ]
+ * Add -DNDEBUG to CPPFLAGS to disable debug output.
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Wed, 13 Sep 2017 18:44:14 +0300
diff --git a/debian/rules b/debian/rules
index d791fbe..2d9b2e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
gstabs_architectures := amd64 powerpc ppc64el s390x
+export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
export DEB_CXXFLAGS_MAINT_STRIP = -g
# Enable gstabs debugging symbols only on gstabs_architectures