nixpkgs/pkgs
sternenseemann 2d176b593b gcc*: force building a cross compiler if host and target platform differ
gcc's configure system has the nasty habit (for us) of judging for
itself if it is building a cross compiler (or cross compiling), but on
the limited information of the build, host and target platforms' config
which only contains a subset of the information we encode in
`stdenv.*Platform`. The practical consequence was that prior to this
change building `pkgsLLVM.buildPackages.gcc` actually fails because it
refuses to use `--with-headers` with something it believes to not be a
cross compiler.

As a workaround we force the appropriate variable in the configure
script to always be `yes` regardless of its own conditional check.

At some point we probably should report this issue in some capacity, so
future gcc versions don't force us into workarounds like this and
acdc783418.
2021-05-18 00:16:54 +02:00
..
applications Merge master into staging-next 2021-05-16 18:32:41 +00:00
build-support Merge master into staging-next 2021-05-13 18:32:50 +00:00
common-updater
data marwaita: 9.1 -> 9.2.1 2021-05-15 19:19:06 -03:00
desktops Merge master into staging-next 2021-05-16 01:00:58 +00:00
development gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
games frotz: fix darwin build 2021-05-15 14:18:41 +02:00
misc Merge master into staging-next 2021-05-16 18:32:41 +00:00
os-specific Merge master into staging-next 2021-05-16 18:32:41 +00:00
pkgs-lib
servers Merge master into staging-next 2021-05-16 18:32:41 +00:00
shells Merge branch 'master' into staging-next 2021-05-14 22:27:34 +02:00
stdenv Merge remote-tracking branch 'upstream/staging-next' into staging 2021-05-06 15:48:25 -04:00
test Merge branch 'master' into haskell-updates 2021-05-07 15:03:54 +02:00
tools Merge branch 'master' into staging-next 2021-05-16 15:34:51 +02:00
top-level Merge master into staging-next 2021-05-16 18:32:41 +00:00