Open Bug 872190 Opened 11 years ago Updated 2 years ago

mach in an objdir doesn't seem to work

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: benjamin, Unassigned)

Details

I was trying to use mach in a way that kinda works with my existing multi-objdir setup:

STR:

* source is in ~/builds/git-mozilla-central
* mkdir ~/builds/git-mozilla-central/obj-debug
* cd ~/builds/git-mozilla-central/obj-debug
* ln -s ~/mozconfig-debug .mozconfig
* ../mach build

Expected results:

* built a debug build in ~/builds/git-mozilla-central/obj-debug

Actual results:

* built a release build in ~/builds/git-mozilla-central/obj-x86_64-unknown-linux-gnu
Oh, the contents of the .mozconfig is the single line

`ac_add_options --enable-debug --disable-optimize`
FWIW, if I had no mozconfig I would have expected it to still use the obj-debug objdir instead of making a separate one.
Vlad filed something similar in bug 872077. This might be a dupe.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.