mach in an objdir doesn't seem to work

NEW
Unassigned

Status

6 years ago
9 months ago

People

(Reporter: benjamin, Unassigned)

Tracking

Trunk
x86_64
Windows 7

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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
(Reporter)

Comment 1

6 years ago
Oh, the contents of the .mozconfig is the single line

`ac_add_options --enable-debug --disable-optimize`
(Reporter)

Comment 2

6 years ago
FWIW, if I had no mozconfig I would have expected it to still use the obj-debug objdir instead of making a separate one.

Comment 3

6 years ago
Vlad filed something similar in bug 872077. This might be a dupe.

Updated

9 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.