Closed Bug 959477 Opened 6 years ago Closed 6 years ago

OS_ARCH is different when using cross compiling on BSDs

Categories

(Firefox Build System :: General, defect)

All
FreeBSD
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla29

People

(Reporter: m_kato, Assigned: jbeich)

References

Details

Attachments

(2 files)

When cross compiling,

967     OS_TARGET="${target_os}"
968     OS_ARCH=`echo $target_os | sed -e 's|/|_|g'`

But, not cross,

982     OS_TARGET=`uname -s`
983     OS_ARCH=`uname -s | sed -e 's|/|_|g'`


Ex. for FreeBSD.  target_os by config.guess = freebsd, but `uname -s` = FreeBSD
Attachment #8362041 - Flags: review?(mh+mozilla)
Attachment #8362040 - Flags: review?(mh+mozilla) → review+
Attachment #8362041 - Flags: review?(mh+mozilla) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/eac69647832a
https://hg.mozilla.org/mozilla-central/rev/dcb9d5efb6da
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Blocks: 968819
Depends on: 1012180
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.