From dfb2f189af91d608cbc686edb01fc04df73da1fd Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Tue, 15 Aug 2023 19:10:21 -0700 Subject: [PATCH] libgcc: build arm-{isa,cpu}.h for all 32-bit arm, not just armv7 As reported here: https://github.com/NixOS/nixpkgs/pull/247900#issuecomment-1679258061 --- pkgs/development/libraries/gcc/libgcc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gcc/libgcc/default.nix b/pkgs/development/libraries/gcc/libgcc/default.nix index e2fbf55876f..c168113fa3c 100644 --- a/pkgs/development/libraries/gcc/libgcc/default.nix +++ b/pkgs/development/libraries/gcc/libgcc/default.nix @@ -90,7 +90,7 @@ in stdenv.mkDerivation (finalAttrs: { insn-constants.h \ '' + lib.optionalString stdenv.targetPlatform.isM68k '' sysroot-suffix.h \ - '' + lib.optionalString stdenv.targetPlatform.isArmv7 '' + '' + lib.optionalString stdenv.targetPlatform.isAarch32 '' arm-isa.h \ arm-cpu.h \ '' + ''