Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 18:11:47 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335716 - head/gnu/usr.bin/cc/cc_tools
Message-ID:  <201806271811.w5RIBlTu012238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806271811.w5RIBlTu012238>