Closed Bug 1031528 Opened 10 years ago Closed 10 years ago

Add --enable-optimize status to getBuildConfiguration

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: gkw, Unassigned)

Details

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
Flags: needinfo?(jdemooij)
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.
Flags: needinfo?(mh+mozilla)
INVALID based on comment 2.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.