[Git][debian-gis-team/osm2pgrouting][master] Append -DNDEBUG to CXXFLAGS to remove buildpath from binaries.

Bas Couwenberg gitlab at salsa.debian.org
Sun Apr 14 15:26:38 BST 2019



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


Commits:
203dc6c6 by Bas Couwenberg at 2019-04-14T14:21:43Z
Append -DNDEBUG to CXXFLAGS to remove buildpath from binaries.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 osm2pgrouting (2.3.6-2) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.3.0, no changes.
+  * Append -DNDEBUG to CXXFLAGS to remove buildpath from binaries.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 25 Dec 2018 22:48:37 +0100
 


=====================================
debian/rules
=====================================
@@ -7,6 +7,9 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# Remove buildpath from binaries
+export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
+
 include /usr/share/dpkg/pkg-info.mk
 
 BUILD_DATE=$(shell LC_ALL=C date -u "+%d %B %Y" -d "@$(SOURCE_DATE_EPOCH)")



View it on GitLab: https://salsa.debian.org/debian-gis-team/osm2pgrouting/commit/203dc6c64deb4b1a48a0cbed350a5168b4d0926c

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/osm2pgrouting/commit/203dc6c64deb4b1a48a0cbed350a5168b4d0926c
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/pkg-grass-devel/attachments/20190414/1ce29780/attachment.html>


More information about the Pkg-grass-devel mailing list