<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi</div><div dir="ltr"><br><blockquote type="cite">On 17 Dec 2021, at 12:14 am, Kurt Hindenburg <khindenburg@macports.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii">Hello,<div class=""> The cmake PG adds <span style="background-color: rgb(255, 255, 255);" class=""><font color="#000000" face="monospace" class="">-DNDEBUG to various flags. <span style="caret-color: rgb(0, 0, 0);" class="">For</span> the next release of ipbt I need to remove it. </font></span></div></div></blockquote><div><br></div><div>Just curious but why ? Its usual to specify these flags in production releases builds, which by default is what macports provides.</div><br><blockquote type="cite"><div dir="ltr"><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#000000" face="monospace" class=""> The normal configure.*-delete do not seem to work.</font></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#000000" face="monospace" class="">Does anyone have suggestions on how to do this?</font></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#000000" face="monospace" class=""><br class=""></font></span></div><div class=""><span style="font-family:monospace" class=""><span style="color:#000000;background-color:#ffffff;" class="">configure.cflags-append -DNDEBUG
</span><br class="">configure.cxxflags-append -DNDEBUG<br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#000000" face="monospace" class=""><br class=""></font></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#000000" face="monospace" class=""><a href="https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/cmake-1.1.tcl" class="">https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/cmake-1.1.tcl</a></font></span></div></div></blockquote><div><br></div>Just enable by default in your port the debug variant<div><br></div><div><a href="https://github.com/macports/macports-ports/blob/51edfec902a1281823f9dcd9fbaa48b44d62b29d/_resources/port1.0/group/cmake-1.1.tcl#L309">https://github.com/macports/macports-ports/blob/51edfec902a1281823f9dcd9fbaa48b44d62b29d/_resources/port1.0/group/cmake-1.1.tcl#L309</a></div><div><br></div><div>As effectively thats what you are wanting to do, provide a debug build by default.</div><div><br></div><div>Chris<br></div><div><br></div></body></html>