Hi,

* tsteven4 <tstev...@gmail.com> [2024-07-10 06:57]:
The debian build of gpsbabel has assertions enabled, i.e.. NDEBUG is not defined. The expectation of the gpsbabel maintainers was that CMAKE_BUILD_TYPE would be set to Release or RelWithDebInfo, and that would cause NDEBUG to be defined thus disabling assertions. I gather debian prefers to build packages with CMAKE_BUILD_TYPE=None. Can you please modify the debian build so NDEBUG is defined, perhaps by adding a line "|export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG" in debian/rules?|

Can you give a reason why this should be done?

According to codesearch it is only used in the exif reader:

https://codesearch.debian.net/search?q=NDEBUG+package%3Agpsbabel&literal=0

Also see this for context:

https://lists.debian.org/debian-devel/2013/02/msg00353.html

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to