nixpkgs/pkgs/development/compilers/gcc
Elias Naur c10a195ab1 gcc: tighten platform flags special-case for aarch64-darwin
The 4aa95e33121c316c5b34031bb08106d2dc113e38 commit added support for
aarch64-darwin but also ignored platform flags if the build platform
is aarch64-darwin. This leads to confusing errors such as
`pkgsCross.raspberryPi` packages compiled with soft-float even though
the platform supports hard-float (and is built as such on other
platforms).

The correct way to ignore platform flags is to check `targetPlatform`,
not the build platform. This change fixes that.

While we're here, tigthen the special-case to cover only the problematic
flags: `-with-cpu` and `-with-arch`.
2023-04-27 15:57:17 -06:00
..
4.8 Merge pull request #212498 from risicle/ris-fortify3 2023-02-16 21:19:30 +00:00
4.9 gcc49: fix build w/glibc-2.36 2023-03-29 09:50:26 +02:00
6 gnatboot: rename to gnat-bootstrap 2023-04-15 18:52:14 -04:00
7 gcc7: fix build w/glibc-2.36 2023-03-29 09:50:26 +02:00
8 gcc8: fix build w/glibc-2.36 2023-03-29 09:50:25 +02:00
9 gnatboot: rename to gnat-bootstrap 2023-04-15 18:52:14 -04:00
10 gnatboot: rename to gnat-bootstrap 2023-04-15 18:52:14 -04:00
11 gnatboot: rename to gnat-bootstrap 2023-04-15 18:52:14 -04:00
12 Merge staging-next into staging 2023-04-17 00:02:39 +00:00
common gcc: tighten platform flags special-case for aarch64-darwin 2023-04-27 15:57:17 -06:00
ada-cctools-as-detection-configure.patch gnat12: Add support for x86_64-darwin 2023-01-07 18:32:12 +11:00
builder.sh gcc: drop include-fixed/bits/statx.h 2023-04-10 17:04:03 +01:00
gcc-12-gfortran-driving.patch
gcc-12-no-sys-dirs.patch
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