Closed Bug 759263 Opened 12 years ago Closed 12 years ago

virtualenv uses CFLAGS instead of HOST_CFLAGS

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla16

People

(Reporter: jacek, Assigned: jacek)

Details

Attachments

(1 file)

Attached patch fix v1.0Splinter Review
It should use HOST_CFLAGS as well as a few other variables, probably (my patch addresses also CXXFLAGS and LDFLAGS). Setting them explicitly in Makefile seems to be the right fix.

Try push:
https://tbpl.mozilla.org/?tree=Try&rev=0a587e837079
Attachment #627882 - Flags: review?(ted.mielczarek)
I did try push based on wrong tree. Here is the right one (I will cancel previous builds):

https://tbpl.mozilla.org/?tree=Try&rev=7118a5c06fcc
This patch improves the situation on FreeBSD, where the builds were broken by the "unified virtualenv" landing. There's still some "-L/usr/local/lib" missing to get things going again.
I doubt that it should be hard-coded into the Makefile, but I haven't found out what other variable could be added to fix that remaining issue.
Comment on attachment 627882 [details] [diff] [review]
fix v1.0

Review of attachment 627882 [details] [diff] [review]:
-----------------------------------------------------------------

Bleh.
Attachment #627882 - Flags: review?(ted.mielczarek) → review+
Target Milestone: --- → mozilla16
https://hg.mozilla.org/mozilla-central/rev/87a43f124ee9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: