Don't hardcode the TOOLS_PREFIX for the startfiles directories.

GCC 4.2 prefixes these directories with --sysroot meaning that during
buildworld they have a double sysroot.

Reviewed by:	bdrewery
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D14780
This commit is contained in:
John Baldwin 2018-06-27 18:11:47 +00:00
parent 06d4e451d4
commit 7cdb6a8305
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335716

View File

@ -43,8 +43,8 @@
/usr/lib directory. */
#undef MD_STARTFILE_PREFIX /* We don't need one for now. */
#define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
#define STARTFILE_PREFIX_SPEC PREFIX"/lib/"
#define STANDARD_STARTFILE_PREFIX "/usr/lib/"
#define STARTFILE_PREFIX_SPEC "/usr/lib/"
#if 0
#define LIBGCC_SPEC "%{shared: -lgcc_pic} \