We currently have --enable-debug status on getBuildConfiguration, but it will be nice to have --enable-optimize status there as well. e.g.: if one is in a --enable-debug build: debug: true if one is in a --enable-optimize build: opt: true or optimize: true or optimized: true or (if using British English) optimise: true or optimised: true
glandium do you know if there's a #define (or something else) to detect --enable-optimize?
Flags: needinfo?(jdemooij) → needinfo?(mh+mozilla)
There's nothing that'll tell you whether a build is optimized. There are some things that can tell you that maybe they are, but maybe not.
INVALID based on comment 2.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.