Summary: | [PATCH] llvmpipe's Makefile: CXXFLAGS, CPPFLAGS and LDFLAGS are not properly propagated | ||
---|---|---|---|
Product: | Mesa | Reporter: | Alexandre Demers <alexandre.f.demers> |
Component: | Mesa core | Assignee: | Alexandre Demers <alexandre.f.demers> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Add missing CXXFLAGS
Fix llvmpipe crosscompilation |
Description
Alexandre Demers
2012-09-07 07:57:24 UTC
A simple solution is to add $(CXXFLAGS) at the end of LDFLAGS += $(LLVM_LDFLAGS) in llvmpipe's Makefile. This gives: LDFLAGS += $(LLVM_LDFLAGS) $(CXXFLAGS) and it fixes the build. Is it the right place to add it? Any comments? Actually, I think the Makefile itself is wrong compared to others, like under r600. Created attachment 71708 [details]
Add missing CXXFLAGS
Fixes cross compiling 32 bit on 64 bit for llvm driver.
Created attachment 72834 [details] [review] Fix llvmpipe crosscompilation It fixes architecture used by linker when using --enable-XY-bit options. Please, review and commit (if the patch is OK). Thank you. A bunch of automake patches were committed today. Did they fix this, maybe? (In reply to comment #4) > A bunch of automake patches were committed today. Did they fix this, maybe? Well, forget that, I had this change for a while laying around and the day I put it correctly as a complete patch, we don't need it anymore. ;) It seems fine with the latest changes committed today. I'm closing this bug, it's invalid anymore. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.