nixpkgs/pkgs/development/compilers/gcc
Adam Joseph b02da45b3c gcc/common/configure-flags.nix: fix comment
On a native (host==build==target) build, `${with_build_sysroot}` can
be omitted.  In that case, the line modified by this commit is
correct.

However, if `--with-build-sysroot=` is passed to `./configure`, then
`${with_build_sysroot}` will be used, similar to the cross case, and
the headers will be taken from:

  ${with_build_sysroot}${native_system_header_dir}

See:

  https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/configure.ac;h=62bc908b991ff0b700225aef32743cd3d7c4daaf;hb=HEAD#l2439

This commit adjusts the comment to account for the case where
`--with-build-sysroot` is passed to a native compiler.
2023-01-31 21:40:48 -08:00
..
4.8 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
4.9 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
6 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
7 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
8 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
9 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
10 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
11 Merge pull request #208657 from tpwrules/darwin-fix-avr 2023-01-23 23:48:21 +01:00
12 gcc: use as(1) from binutils with LLVM bintools 2023-01-20 18:35:25 +01:00
common gcc/common/configure-flags.nix: fix comment 2023-01-31 21:40:48 -08:00
ada-cctools-as-detection-configure.patch gnat12: Add support for x86_64-darwin 2023-01-07 18:32:12 +11:00
builder.sh treewide: fix some core package structuredAttrs 2022-12-08 21:05:28 +02:00
gcc-12-gfortran-driving.patch gcc12, gfortran12, gnat12: init at 12.1.0 2022-05-07 13:50:47 +01:00
gcc-12-no-sys-dirs.patch gcc12, gfortran12, gnat12: init at 12.1.0 2022-05-07 13:50:47 +01:00
gfortran-darwin-NXConstStr.patch
gfortran-driving.patch
gnat-cflags-11.patch
gnat-cflags.patch
gnat-darwin-dylib-install-name.patch gnat12: Fix GNAT Darwin dylib install names 2023-01-11 09:03:43 +11:00
libgomp-dont-force-initial-exec.patch
libphobos.patch
libsanitizer-no-cyclades-9.patch
libsanitizer-no-cyclades.patch
libstdc++-netbsd-ctypes.patch
libstdc++-target.patch
no-sys-dirs-riscv-gcc9.patch
no-sys-dirs-riscv.patch
no-sys-dirs.patch
parallel-bconfig.patch
ppc-musl.patch
res_state-not-declared.patch
sigsegv-not-declared.patch
struct-sigaltstack-4.9.patch
struct-sigaltstack.patch
struct-ucontext-4.5.patch
struct-ucontext-4.8.patch
struct-ucontext-libjava.patch
struct-ucontext.patch
update-mcfgthread-patches.sh
use-source-date-epoch.patch