[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NDEBUG when building packages?



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.

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.

Ian.


Reply to: