deleting -DNDEBUG added by cmake PG

Chris Jones jonesc at
Sat Dec 18 14:17:24 UTC 2021


> On 17 Dec 2021, at 12:14 am, Kurt Hindenburg <khindenburg at> wrote:
> Hello,
>   The cmake PG adds -DNDEBUG to various flags.  For the next release of ipbt I need to remove it.

Just curious but why ? Its usual to specify these flags in production releases builds, which by default is what macports provides.

>  The normal configure.*-delete do not seem to work.
> Does anyone have suggestions on how to do this?
> configure.cflags-append     -DNDEBUG 
> configure.cxxflags-append   -DNDEBUG

Just enable by default in your port the debug variant

As effectively thats what you are wanting to do, provide a debug build by default.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list