deleting -DNDEBUG added by cmake PG

Joshua Root jmr at macports.org
Sat Dec 18 14:42:05 UTC 2021


On 2021-12-19 01:17 , Chris Jones wrote:
> Hi
> 
>> On 17 Dec 2021, at 12:14 am, Kurt Hindenburg 
>> <khindenburg at macports.org> 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

Well the opposite of -D is -U, but as Chris implied, it would be helpful 
to know the details of the problem you are trying to solve.

- Josh

(BTW, please replace the old macosforge.org list address with the 
current macports.org version in your address book.)


More information about the macports-dev mailing list