Closed Bug 1316288 Opened 9 years ago Closed 9 years ago

Fix some config scripts to not error if cc isn't found

Categories

(NSS :: Build, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file)

werror.py and check_cc_clang.py currently fail if CC isn't set in the environment and cc doesn't exist on the path. This happens to be true in Firefox builds. We should just make them exit in this case. I wish gyp had a way to not run these scripts when the variable already has a provided value, but it's not that clever.
Comment on attachment 8808972 [details] [diff] [review] Fix werror.py and check_cc_clang.py for cases where cc doesn't exist Review of attachment 8808972 [details] [diff] [review]: ----------------------------------------------------------------- I'd recommend setting CC instead. But that's a small change, that's fine.
Attachment #8808972 - Flags: review?(franziskuskiefer) → review+
https://hg.mozilla.org/projects/nss-try/rev/a729b004edd3e1e5c1a2b67a9f0d3eb16f8fcaae bug 1316288 - Fix werror.py and check_cc_clang.py for cases where cc doesn't exist. r?franziskus
https://hg.mozilla.org/projects/nss/rev/d163d0825ac77faa77c4cdf671a665fd6600443b bug 1316288 - Fix werror.py and check_cc_clang.py for cases where cc doesn't exist. r=franziskus
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: