Closed Bug 1007931 Opened 10 years ago Closed 10 years ago

--with-compiler-wrapper duplicates wrapper when it contains backslashes

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla32

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file, 1 obsolete file)

with this:
ac_add_options "--with-compiler-wrapper=python2.7 c:\\sccache\\sccache.py"

The build fails during js/src/configure because the wrapper is added twice.

This is due to the test in build/autoconf/wrapper.m4 doesn't work properly when the compiler wrapper contains backslashes.
Turns out that quite doesn't work properly in other parts of the build system, and the simpler solution is just to normalize slashes.
Attachment #8419738 - Flags: review?(mshal)
Attachment #8419707 - Attachment is obsolete: true
Attachment #8419707 - Flags: review?(mshal)
Comment on attachment 8419738 [details] [diff] [review]
Replace backslashes with forward slashes in compiler wrapper on windows

Looks good, though a comment would be nice.
Attachment #8419738 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/44b0d6c49378
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: