Closed Bug 314961 Opened 19 years ago Closed 19 years ago

Won't build when using spaces in --enable-optimize and having dash as sh

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: glandium)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.8) Gecko/20051101 Debian/1.4.99+1.5rc1.dfsg-1 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.8) Gecko/20051101 Debian/1.4.99+1.5rc1.dfsg-1 Firefox/1.5 Because of a bug in dash, when using ./configure --enable-optimize="-someoption -someother" (with a space in the statement), MOZ_OPTIMIZE_FLAGS in config/automake.cf is truncated after a backslash, thus adding MOZ_OPTIMIZE_LDFLAGS = in the variable and breaking build. (See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=211010 if you want some more detail). There is a simple workaround that makes it work in all cases, that i am going to attach. Reproducible: Always
Attached patch PatchSplinter Review
Note the patch also contains the changes to configure so that anyone can try the patch without running autoconf...
Attachment #201770 - Flags: review?(benjamin)
Attachment #201770 - Flags: review?(benjamin) → review+
should i ask for superreview ? in such case who should i ask to ?
build config patches don't need SR
Assignee: nobody → mh
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [checkin needed]
fixed on trunk. thanks for the patch! Checking in configure.in; /cvsroot/mozilla/configure.in,v <-- configure.in new revision: 1.1620; previous revision: 1.1619 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Fixed on 1.8 branch (for ff2).
Keywords: fixed1.8.1
Whiteboard: [checkin needed]
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: