Bas Couwenberg pushed to branch master at Debian GIS Project / pktools


Commits:
90010550 by Bas Couwenberg at 2019-04-22T09:25:10Z
Append -DNDEBUG to CXXFLAGS to remove buildpath from binaries.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 pktools (2.6.7.6+ds-2) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.3.0, no changes.
+  * Append -DNDEBUG to CXXFLAGS to remove buildpath from binaries.
 
  -- Bas Couwenberg <[email protected]>  Tue, 25 Dec 2018 22:57:03 +0100
 


=====================================
debian/rules
=====================================
@@ -14,7 +14,9 @@ UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed 
-e 's/\+.*//')
 BUILD_DATE=$(shell LC_ALL=C date -u "+%d %B %Y" -d "@$(SOURCE_DATE_EPOCH)")
 
 ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
-       export DEB_CXXFLAGS_MAINT_APPEND := -I/usr/include/hdf5/serial
+       export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG -I/usr/include/hdf5/serial
+else
+       export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
 endif
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pktools/commit/90010550156db359f996f0fe7de6d50d78e17e9e

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pktools/commit/90010550156db359f996f0fe7de6d50d78e17e9e
You're receiving this email because of your account on salsa.debian.org.

_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to