svn commit: r335716 - head/gnu/usr.bin/cc/cc_tools
John Baldwin
jhb at FreeBSD.org
Wed Jun 27 18:11:48 UTC 2018
Author: jhb
Date: Wed Jun 27 18:11:47 2018
New Revision: 335716
URL: https://svnweb.freebsd.org/changeset/base/335716
Log:
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
Modified:
head/gnu/usr.bin/cc/cc_tools/freebsd-native.h
Modified: head/gnu/usr.bin/cc/cc_tools/freebsd-native.h
==============================================================================
--- head/gnu/usr.bin/cc/cc_tools/freebsd-native.h Wed Jun 27 17:40:29 2018 (r335715)
+++ head/gnu/usr.bin/cc/cc_tools/freebsd-native.h Wed Jun 27 18:11:47 2018 (r335716)
@@ -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} \
More information about the svn-src-head
mailing list