[med-svn] [Git][med-team/orthanc-dicomweb][master] 2 commits: Set -DNDEBUG to disable assertion checking

Sebastien Jodogne gitlab at salsa.debian.org
Fri Apr 27 13:17:11 BST 2018


Sebastien Jodogne pushed to branch master at Debian Med / orthanc-dicomweb


Commits:
dbf401ec by jodogne-guest at 2018-04-27T14:07:09+02:00
Set -DNDEBUG to disable assertion checking

- - - - -
550f3df4 by jodogne-guest at 2018-04-27T14:10:46+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-dicomweb (0.5+dfsg-2) UNRELEASED; urgency=medium
+orthanc-dicomweb (0.5+dfsg-2) unstable; urgency=medium
 
   * Set -DCMAKE_BUILD_TYPE=None
+  * Set -DNDEBUG to disable assertion checking
 
- -- Jodogne <jodogne at debian-unstable>  Wed, 25 Apr 2018 14:11:41 +0200
+ -- Sebastien Jodogne <s.jodogne at gmail.com>  Fri, 27 Apr 2018 14:05:31 +0200
 
 orthanc-dicomweb (0.5+dfsg-1) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,11 @@ export TARGET := libOrthancDicomWeb.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 $@ --parallel --builddirectory=Build
 



View it on GitLab: https://salsa.debian.org/med-team/orthanc-dicomweb/compare/20baf6257170f8f3782f710c496687c14290a0ad...550f3df48232a730078164c493dd3c5eb0c1c447

---
View it on GitLab: https://salsa.debian.org/med-team/orthanc-dicomweb/compare/20baf6257170f8f3782f710c496687c14290a0ad...550f3df48232a730078164c493dd3c5eb0c1c447
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/65ebb631/attachment.html>


More information about the debian-med-commit mailing list