nixpkgs/pkgs/development/compilers
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
..
4th
abcl abcl: follow up fixes for #223317 2023-04-07 21:03:21 -03:00
acme
adoptopenjdk-bin
adoptopenjdk-icedtea-web
alan treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
algol68g
ante tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
apache-flex-sdk
arachne-pnr
armips
as31
asl
asn1c
aspectj
atasm
ats
ats2
avra
ballerina ballerina: 2201.4.0 -> 2201.5.0 2023-04-26 20:10:37 +00:00
bigloo bigloo: mark darwin aarch64 as broken 2023-03-19 11:59:04 +11:00
binaryen binaryen: 111 -> 112 2023-03-10 04:20:00 +00:00
blueprint
bluespec bluespec: 2022.1 -> 2023.1 2023-03-28 06:30:54 -05:00
bs-platform treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
bupc
c3c
cakelisp
carp
cc65
ccl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
chez treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
chez-racket Merge remote-tracking branch 'origin/master' into staging-next 2023-02-23 13:51:34 +00:00
chicken chickenPackages: reduce brokenOnDarwin 2023-04-12 15:35:37 +03:00
ciao
circt circt: 1.34.0 -> 1.37.0 2023-04-17 09:36:39 +08:00
clasp lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
clean
closure
cmdstan stanc, cmdstan: 2.31.0 -> 2.32.0 2023-04-25 09:39:59 +03:00
cmucl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
codon codon: init at 0.15.5 2023-04-13 11:02:00 +03:00
colm
computecpp
cone
copper
crystal crystal_1_8: 1.8.0 -> 1.8.1 2023-04-20 22:18:09 +03:00
crystal2nix
cudatoolkit Merge pull request #226038 from SomeoneSerge/cuda_nvrtc-origin 2023-04-14 11:28:16 +02:00
dale
dart dart: 2.19.3 -> 2.19.6 2023-04-26 14:23:40 +10:00
dasm
dev86 dev86: change self to finalAttrs 2023-04-26 08:00:11 -03:00
dictu
dmd
dotnet Merge pull request #225833 from JamieMagee/dotnet-8.0 2023-04-12 10:54:49 +02:00
dtc
ecl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
edk2 treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
eli treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
elm nodejs*: normalise names to better fit other packages 2023-04-25 11:28:17 +02:00
emscripten
eql treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
factor-lang
fasm
fasmg
fbc
firrtl
flasm
flix Update pkgs/development/compilers/flix/default.nix 2023-04-21 06:50:41 +02:00
flutter flutter: Fix linux-x64-profile/linux-x64-flutter-gtk artifact hash 2023-04-26 00:55:10 +10:00
flux
fpc
fsharp
fstar
gambit
gavrasm
gbforth gbforth: init at unstable-2023-03-02 2023-03-06 19:04:10 +01:00
gcc gcc: tighten platform flags special-case for aarch64-darwin 2023-04-27 15:57:17 -06:00
gcc-arm-embedded gcc-arm-embedded: add myself to maintainers 2023-04-05 14:27:26 +02:00
gcl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
gerbil treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
gforth gforth: mark as broken on darwin aarch64 2023-03-19 16:52:17 +11:00
ghc haskell.compiler.ghc94: 9.4.4 -> 9.4.5 2023-04-22 17:47:11 +02:00
ghcjs
ghdl
gleam gleam: 0.28.2 -> 0.28.3 2023-04-20 08:18:58 -04:00
glslang glslang: 1.3.239.0 -> 1.3.243.0 2023-04-03 11:44:40 -03:00
gmqcc
gnat-bootstrap gnatboot: rename to gnat-bootstrap 2023-04-15 18:52:14 -04:00
gnostic
gnu-cim
gnu-cobol
gnu-smalltalk
go go: only include Darwin target dependencies when targeting Darwin 2023-04-19 14:44:39 +10:00
go-jsonnet go-jsonnet: 0.19.1 -> 0.20.0 2023-04-18 02:05:19 +00:00
gprolog
graalvm/community-edition graalvmCEPackages.python-installable-svm-java*: fix by libxcrypt-legacy 2023-03-25 10:47:29 +01:00
gwt
halide halide: 15.0.0 -> 15.0.1 2023-04-19 06:02:07 +00:00
hare harec: change self to finalAttrs 2023-04-20 22:22:23 -03:00
haxe haxe_3_2, haxe_3_4: drop 2023-03-20 17:02:28 +02:00
heptagon
hip hip: 5.4.3 -> 5.4.4 2023-03-26 21:57:11 +00:00
hip-common
hipcc
hipify
hop
hvm
idris2
inform6 inform6: 6.41-r3 -> 6.41-r4 2023-04-18 08:31:34 +00:00
inform7
inklecate
intel-graphics-compiler intel-graphics-compiler: 1.0.12504.5 -> 1.0.12812.26 2023-02-28 17:44:18 +01:00
intercal
ios-cross-compile
ispc
jasmin
jasmin-compiler jasmin-compiler: 2022.09.0 → 2022.09.2 2023-04-17 07:11:46 +02:00
javacard-devkit
jetbrains-jdk jetbrains.jdk: 17.0.5-b653.25 → 17.0.6-b829.5 2023-03-10 16:05:24 -06:00
jrsonnet tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
jsonnet
julia julia_19: 1.9.0-beta4 -> 1.9.0-rc1 2023-03-09 23:41:38 +08:00
juniper
jwasm jwasm: 2.16 -> 2.17 2023-04-11 15:07:42 -03:00
kaitai-struct-compiler
kind2
koka
kotlin kotlin{-native}: 1.8.10 → 1.8.20 2023-04-09 17:13:50 +05:30
ldc
lesscpy lesscpy: init at 0.13.0 2023-03-16 08:36:13 +02:00
ligo ligo: 0.59.0 -> 0.60.0 2023-02-20 11:03:39 +01:00
lingua-franca
llvm Merge master into staging-next 2023-04-20 00:02:04 +00:00
lobster lobster: 2021.3 -> 2023.4 2023-04-20 14:25:10 +02:00
manticore
marst marst,libidn2,mdk: remove duplicate /gnu in the url 2023-03-11 20:09:21 +02:00
matter-compiler
mcpp
mercury Merge pull request #192192 from amjoseph-nixpkgs/pr/mercury/jdk_headless 2023-04-24 04:43:16 +00:00
meta-environment/meta-build-env
mezzo ocamlPackages.mezzo: fix build 2023-03-03 06:08:25 +00:00
microscheme
minimacy minimacy: 0.6.2 -> 0.6.4 2023-03-09 13:17:53 +01:00
mint
miranda treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
mit-scheme treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
mkcl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
mlkit mlkit: 4.7.2 -> 4.7.3 2023-03-04 14:24:13 +00:00
mlton
mono
mosml
mozart mozart: Simplify build thanks to the new sources format 2023-04-04 15:02:20 +02:00
mruby mruby: 3.1.0 -> 3.2.0 2023-02-25 11:33:48 +01:00
mrustc mrustc-bootstrap: Document workarounds 2023-04-16 21:59:34 +02:00
muonlang
myrddin
nasm
neko
nextpnr
nim nim: propagate Security framework to all nim packages on darwin 2023-04-14 16:04:31 +00:00
nqc
nvidia-cg-toolkit
obliv-c obliv-c: migrate to OCaml 4.14 2023-03-05 01:40:37 +02:00
ocaml Merge pull request #217568 from trofi/stdenv-parallel-install 2023-03-15 17:10:19 +00:00
odin
open-watcom open-watcom-v2-unwrapped: unstable-2023-01-30 -> unstable-2023-03-20 2023-03-20 15:54:08 +01:00
opendylan
openjdk openjdk: explicitly specify build platform to avoid WSL autodetection shenanigans 2023-04-15 16:24:07 +03:00
openspin
ophis
oraclejdk
orc orc: fix build with gcc12 on aarch64-linux 2023-02-27 23:47:08 +02:00
osl osl: 1.11.17.0 -> 1.12.11.0 2023-04-10 23:26:32 +02:00
owl-lisp
p4c p4c: 1.2.3.7 -> 1.2.3.8 2023-04-27 03:52:43 +00:00
paco
pakcs
passerine
pforth
picat
polyml
ponyc ponyc: remove superherointj as maintainer 2023-03-30 11:00:52 -03:00
purescript purescript: 0.15.7 -> 0.15.8 2023-03-10 17:14:31 +00:00
qbe
rasm
reason
rgbds treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional 2023-02-22 21:23:05 +02:00
rml rml: use prefixKey 2023-04-04 17:46:59 +03:00
roslyn
rust Merge master into staging-next 2023-04-25 12:01:31 +00:00
sagittarius-scheme
sbcl Merge staging-next into staging 2023-04-13 12:02:19 +00:00
scala scala: fix updatescript evaluation 2023-02-23 21:27:01 -08:00
scala-runners
scryer-prolog tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
sdcc sdcc: enableParallelBuilding = true 2023-04-21 13:52:22 -07:00
seexpr
semeru-bin
serpent
shaderc
silice
sjasmplus
smlnj
solc solc: 0.8.13 -> 0.8.19 (#219240) 2023-04-04 19:17:56 +02:00
souffle
spasm-ng
spirv-llvm-translator
squeak treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
stalin
stanc stanc, cmdstan: 2.31.0 -> 2.32.0 2023-04-25 09:39:59 +03:00
swi-prolog
swift swift: reduce closure size of swift-lib 2023-03-15 19:08:38 +01:00
temurin-bin javaPackages: cleanup unused code 2023-04-14 22:23:39 -03:00
terra
teyjus treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
tinycc
tinygo
tvm tvm: 0.11.0 -> 0.11.1 2023-03-23 23:42:18 +00:00
uasm
unison unison: M4c -> M4h 2023-03-05 11:37:11 +01:00
urn
urweb treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
vala vala_0_56: 0.56.4 → 0.56.6 2023-04-06 01:44:41 +02:00
vlang
vyper
wcc
wla-dx
x11basic
xa xa: change self to finalAttrs 2023-04-26 08:00:11 -03:00
yap treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
yasm
yosys yosys-symbiflow: 2023.02.08 -> 1.20230425 2023-04-26 01:47:32 -05:00
z88dk treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
zasm
zig zig: 0.10 fix macOS build 2023-03-14 14:02:39 +01:00
zulu
zz tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00