]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the external GCC build after r297271 by setting -L <sysroot>/usr/lib.
authorbdrewery <bdrewery@FreeBSD.org>
Wed, 30 Mar 2016 23:50:29 +0000 (23:50 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Wed, 30 Mar 2016 23:50:29 +0000 (23:50 +0000)
commit4dad3c9162748d9f5b5b40d872d26437f0618fee
treeb4041464d6bc9a1179826d9c3a133b499a47ea2d
parent59f4cb814dffd0fdde3c6d489c893c2cb67f3fc2
Fix the external GCC build after r297271 by setting -L <sysroot>/usr/lib.

GCC does add <sysroot>/usr/lib to the library search path but it comes after
/usr/local/lib which can find ports libraries such as libedit.so.  The
bad path comes in as /usr/local/lib/gcc/x86_64-portbld-freebsd11.0/5.3.0/../../../
which corresponds to <prefix>/lib.

This partially reverts r297271.

Pointyhat to: bdrewery
Sponsored by: EMC / Isilon Storage Division
Makefile.inc1