Sebastien Jodogne pushed to branch master at Debian Med / orthanc

Commits:
00c56674 by jodogne-guest at 2018-04-27T13:12:07+02:00
Disable assertion checking

- - - - -
cfc7c228 by jodogne-guest at 2018-04-27T13:26:07+02:00
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
-orthanc (1.3.2+dfsg-2) UNRELEASED; urgency=medium
+orthanc (1.3.2+dfsg-2) unstable; urgency=medium
 
   * Fix copyright
+  * Set -DNDEBUG to disable assertion checking
   * Set -DCMAKE_BUILD_TYPE=None
 
- -- Sebastien Jodogne <[email protected]>  Thu, 19 Apr 2018 20:05:21 +0200
+ -- Sebastien Jodogne <[email protected]>  Fri, 27 Apr 2018 13:24:36 +0200
 
 orthanc (1.3.2+dfsg-1) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,11 @@ export UPSTREAM_VERSION := $(shell echo "$(DEB_VERSION)" | 
cut -d '+' -f 1)
 
 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/compare/4d169a065c9e78e0df88ae2860ad6fbc1d650861...cfc7c228d072ca8cf54dcbd0d70294ebd9442178

---
View it on GitLab: 
https://salsa.debian.org/med-team/orthanc/compare/4d169a065c9e78e0df88ae2860ad6fbc1d650861...cfc7c228d072ca8cf54dcbd0d70294ebd9442178
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to