[med-svn] [Git][med-team/orthanc-postgresql][master] 2 commits: Set -DNDEBUG to disable assertion checking
Sebastien Jodogne
gitlab at salsa.debian.org
Fri Apr 27 13:31:21 BST 2018
Sebastien Jodogne pushed to branch master at Debian Med / orthanc-postgresql
Commits:
e9a4deab by jodogne-guest at 2018-04-27T14:14:55+02:00
Set -DNDEBUG to disable assertion checking
- - - - -
573d3e37 by jodogne-guest at 2018-04-27T14:21:35+02:00
Upload to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-orthanc-postgresql (2.1-2) UNRELEASED; urgency=medium
+orthanc-postgresql (2.1-2) unstable; urgency=medium
+ * Set -DNDEBUG to disable assertion checking
* Set -DCMAKE_BUILD_TYPE=None
- -- Jodogne <jodogne at debian-unstable> Wed, 25 Apr 2018 14:13:12 +0200
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Fri, 27 Apr 2018 14:21:02 +0200
orthanc-postgresql (2.1-1) unstable; urgency=medium
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,11 @@ export TARGET_STORAGE := libOrthancPostgreSQLStorage.so
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+# Disable assert() checking from upstream project, for best performance
+# https://lists.debian.org/debian-med/2018/04/msg00132.html
+export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG
+export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
+
%:
dh $@ --builddirectory=Build
View it on GitLab: https://salsa.debian.org/med-team/orthanc-postgresql/compare/c1d7737b3dc4438b1276db7fd90ce88df9ff35a5...573d3e37d711b39104e9d82466912a3eee9439d1
---
View it on GitLab: https://salsa.debian.org/med-team/orthanc-postgresql/compare/c1d7737b3dc4438b1276db7fd90ce88df9ff35a5...573d3e37d711b39104e9d82466912a3eee9439d1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180427/354d9e48/attachment.html>
More information about the debian-med-commit
mailing list