opnsense-src/gnu/usr.bin/cc/cc_tools
John Baldwin 104f6a2dcd Fix GCC 4.2.1 to honor --sysroot for includes.
- Change the C++ directory entries to honor --sysroot if it is set.
- Don't define CROSS_INCLUDE_DIR for the cross compiler.  Instead, set
  TARGET_SYSTEM_ROOT to point to WORLDTMP and always define
  STANDARD_INCLUDE_DIR.
- Change STANDARD_INCLUDE_DIR and the C++ include directories to just
  start with "/usr" always.  The compiler will prepend the sysroot when
  doing cross-builds.  GCC_INCLUDE_DIR (which contains headers that ship
  with the compiler such as intrinsincs rather than OS-supplied headers)
  remains hardcoded to look in TOOLS_PREFIX.

Reviewed by:	bdrewery (older version)
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D15127
2018-06-27 18:14:33 +00:00
..
arm.md.diff Remove gratuitous white space change. 2006-11-06 02:49:19 +00:00
auto-host.h After the binutils 2.17.50 import, the assembler supports AS_REL16 2012-07-08 17:02:14 +00:00
elfos-undef.h Add FreeBSD/MIPS support to GCC. 2008-09-01 18:46:03 +00:00
freebsd-native.h Fix GCC 4.2.1 to honor --sysroot for includes. 2018-06-27 18:14:33 +00:00
freebsd.opt Update bmake glue to build GCC 4.2. 2007-05-19 04:25:59 +00:00
i386-freebsd.opt Update bmake glue to build GCC 4.2. 2007-05-19 04:25:59 +00:00
Makefile build-tools: De-special-case the gcc tools build. 2017-10-31 19:02:05 +00:00
Makefile.dep Convert to new FAST_DEPEND syntax for guessed dependencies. 2016-06-15 23:57:46 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile.hdrs Create a new MACHINE_ARCH for Freescale PowerPC e500v2 2016-10-22 01:57:15 +00:00
size-host.h Update bmake glue to build GCC 4.2. 2007-05-19 04:25:59 +00:00