]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correctly setup LDADD with regards to libstand. The submitter points
authorrpaulo <rpaulo@FreeBSD.org>
Thu, 22 Jul 2010 18:57:47 +0000 (18:57 +0000)
committerrpaulo <rpaulo@FreeBSD.org>
Thu, 22 Jul 2010 18:57:47 +0000 (18:57 +0000)
commit85cc5d9d3e19a527f230ceab8f6e2f965484aae8
tree2e4e65c6f911510b794c3e816c62b9078247fcf7
parent19435b2958de4c32a02528cd17ef64f98d2367f8
Correctly setup LDADD with regards to libstand. The submitter points
out that "on amd64, libstand.a is compiled for i386, but is still installed
under ${WORLDTMP}/usr/lib instead of ${WORLDTMP}/usr/lib32.  Even if it
would be installed there, ld on amd64 is set up incorrectly with a
${TOOLS_PREFIX}/usr/lib/i386 default path, so it wouldn't link.  The reason
it does link under gcc is that gcc passes -L${WORLDTMP}/usr/lib twice,
even for -m32 builds, which is also incorrect, but accidentally works in
this case."

Submitted by: Dimitry Andric <dimitry at andric.com>
sys/boot/i386/loader/Makefile