deleting -DNDEBUG added by cmake PG
jonesc at hep.phy.cam.ac.uk
Sat Dec 18 14:17:24 UTC 2021
> On 17 Dec 2021, at 12:14 am, Kurt Hindenburg <khindenburg at macports.org> wrote:
> 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...
More information about the macports-dev