[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm >= 3.4

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 9 06:27:02 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=70410

--- Comment #14 from Aaron Watry <awatry at gmail.com> ---
Created attachment 91751
  --> https://bugs.freedesktop.org/attachment.cgi?id=91751&action=edit
llvm-config patch to place system-libs on a single line

Patch modifies llvm-config to print --system-libs on a single line.

If the user requests 'llvm-config --libs --system-libs', then it still puts it
on a single line, but orders the system libraries to come at the end. If you
request --libs, then you just get libs. If you request --system-libs, then you
just get system libraries that llvm links against.

This way we just have to modify the mesa build to call 'llvm-config --libs
--system-libs' anywhere needed, instead of doing some sed fiddling to the
output and hoping we get it right.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140109/052a1f65/attachment.html>


More information about the mesa-dev mailing list