2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 21:03:15 +00:00
nixpkgs/pkgs/development
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
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers gcc/common/configure-flags.nix: fix comment 2023-01-31 21:40:48 -08:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
embedded
gnuradio-modules
guile-modules
haskell-modules
idris-modules
interpreters hashlink: 1.12 -> 1.13 2023-01-30 21:53:43 -05:00
java-modules
libraries Merge pull request from dotlambda/catch2-3.3.0 2023-01-30 19:48:50 -08:00
lisp-modules
lisp-modules-new
lua-modules
misc Merge pull request from abathur/resholve_0.9.0 2023-01-30 03:35:53 +01:00
mobile maestro: 1.21.2 -> 1.21.3 2023-01-30 19:03:03 +05:30
nim-packages
node-packages
ocaml-modules Merge pull request from vbgl/alt-ergo-fix 2023-01-30 13:54:22 +01:00
octave-modules
perl-modules
pharo
php-packages
python2-modules
python-modules Merge pull request from fabaff/pylitterbot-bump 2023-01-30 21:27:37 -05:00
quickemu
r-modules
rocm-modules/update-script
ruby-modules
scheme-modules/scheme-bytestructures
skaware-packages
tools Merge pull request from figsoda/cargo-semver-checks 2023-01-30 21:50:11 -05:00
web flyctl: 0.0.450 -> 0.0.451 2023-01-30 18:10:32 +00:00