Commit d4b2221e authored by Sebastien Jodogne's avatar Sebastien Jodogne

Set -DNDEBUG to disable assertion checking

parent 682cb5e6
orthanc-wsi (0.5-2) UNRELEASED; urgency=medium
* Set -DNDEBUG to disable assertion checking
-- Sebastien Jodogne <s.jodogne@gmail.com> Fri, 27 Apr 2018 14:23:59 +0200
orthanc-wsi (0.5-1) unstable; urgency=medium
* New upstream version
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment