nixpkgs/pkgs/development/compilers/gcc/7
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
..
0001-Fix-build-for-glibc-2.31.patch gcc7: fix build w/glibc-2.31 2020-06-29 14:41:42 +02:00
Added-mcf-thread-model-support-from-mcfgthread.patch gcc10: fix MinGW build & use local copy of mcfgthread patches 2021-01-03 23:04:37 -05:00
default.nix gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
riscv-no-relax.patch
riscv-pthread-reentrant.patch