Michael Gmelin writes: > While debugging an unexpected assertion problem, I noticed that ports > using cmake don't set -NDEBUG, even when building in Release mode. > > Is this intentional? Is it the software you're porting that checks for DEBUG or some library it uses? CMake code should check for CMAKE_BUILD_TYPE and adjust the compiler flags accordingly (if at all); so if the software itself is checking for DEBUG but not passing (or omitting it) I'd say the bug is there, not in Mk/Uses/cmake.mk. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"