I am unable to identify a compiler flag that would turn off all of the seemingly pointless (with production code) calls that are presumably mainly for tracing.
--no-traces
does not accomplish this.
Calls like:
HX_STACK_LINE
HX_STACK_PUSH
Perhaps these should be able to be turned off and the APIs that rely on them disabled if necessary for production code.