Open
Bug 892380
Opened 11 years ago
Updated 2 years ago
Don't use CPPFLAGS to check cross compile check
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
5.28 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
I am working clang support for Android. Since clang's C preprocessor (clang -E) needs '-target $(llvm_target)' option for cross compile, it has to add CPPFLAGS for clang.
But cross compiler checks uses CPPFLAGS by ac_compile, it doesn't detect compiler flags well.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #773868 -
Flags: review?(mh+mozilla)
Comment 2•11 years ago
|
||
Comment on attachment 773868 [details] [diff] [review]
fix
Review of attachment 773868 [details] [diff] [review]:
-----------------------------------------------------------------
This looks reasonable, but this doesn't quite match the bug summary.
Attachment #773868 -
Flags: review?(mh+mozilla) → review+
Comment 3•11 years ago
|
||
Note that another way to look at these kind of issues is to set the compiler itself to contain such flags. So that CC="clang -target $llvm_target" and CXX="clang++ -target $llvm_target". That might make things much simpler for bug 891718
Updated•11 years ago
|
Flags: a11y-review+
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•