Issue #4740

Converted --static, --gc, --jit, -g and --xg to -Z flags.