Re: llvm: pass library paths for cross-build

2017-01-04 Thread Mark Kettenis
> Date: Wed, 4 Jan 2017 17:46:23 +0100 > From: Patrick Wildt > > Hi, > > with GCC as cross-compiler the PREFIX define (which is set to the > CROSSDIR) makes sure that the linker includes the correct dirs. > Otherwise the cross-build will only find the host libraries, which > does not really work

llvm: pass library paths for cross-build

2017-01-04 Thread Patrick Wildt
Hi, with GCC as cross-compiler the PREFIX define (which is set to the CROSSDIR) makes sure that the linker includes the correct dirs. Otherwise the cross-build will only find the host libraries, which does not really work well. Our clang doesn't do this so far. The changes in clang make sure tha