[med-svn] [Git][med-team/orthanc-wsi][master] 2 commits: Set -DNDEBUG to disable assertion checking
Sebastien Jodogne
gitlab at salsa.debian.org
Fri Apr 27 13:47:34 BST 2018
Sebastien Jodogne pushed to branch master at Debian Med / orthanc-wsi
Commits:
d4b2221e by jodogne-guest at 2018-04-27T14:24:53+02:00
Set -DNDEBUG to disable assertion checking
- - - - -
09f926f0 by jodogne-guest at 2018-04-27T14:32:28+02:00
Upload to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+orthanc-wsi (0.5-2) unstable; urgency=medium
+
+ * Set -DNDEBUG to disable assertion checking
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Fri, 27 Apr 2018 14:23:59 +0200
+
orthanc-wsi (0.5-1) unstable; urgency=medium
* New upstream version
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@ export UPSTREAM_VERSION := $(shell echo "$(DEB_VERSION)" | cut -d '-' -f 1)
export VIEWER_TARGET := libOrthancWSI.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
View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/compare/682cb5e654c492b6dcef7ffdcfe2e2821adc4a2f...09f926f0d44dfbbd3cc814747a3ab515efb08b2f
---
View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/compare/682cb5e654c492b6dcef7ffdcfe2e2821adc4a2f...09f926f0d44dfbbd3cc814747a3ab515efb08b2f
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/4f48c522/attachment.html>
More information about the debian-med-commit
mailing list