On Tue, Feb 19, 2013 at 5:30 PM, Ian Jackson
<ijack...@chiark.greenend.org.uk> wrote:
> Daniel Pocock writes ("NDEBUG when building packages?"):
>> I notice some upstreams hack NDEBUG into their Makefile, while others
>> leave it at the discretion of the user
>>
>> Is there any distribution policy for this?  Should I be adding something
>> into debian/rules to set -DNDEBUG when I prepare a package for release?
>
> -DNDEBUG is (normally) EBW.

http://en.wikipedia.org/wiki/EBW ?

> Unless your packages are weird in some way, you shouldn't set it.
> Even if upstream specify it it can be right to remove it.

In that case, this should really be clarified. A lot of debian/cmake
packages are actually doing:

-DCMAKE_BUILD_TYPE:STRING=Release

within there debian/rules files. This settings by default compiles
with: `-O3 -DNDEBUG`

2cts


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+7wusypgyth9thhokhxak-bf2gv1mdoxx8hzc-qjix9srf...@mail.gmail.com

Reply via email to