HomeFreeBSD

Correctly setup LDADD with regards to libstand. The submitter points

Description

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>

Details

Provenance
rpauloAuthored on Jul 22 2010, 6:57 PM
Parents
rG247cd15268d5: Make these files compile with clang.
Branches
Unknown
Tags
Unknown

Event Timeline