libtheora: apply ARMv7 conditionals to all 32-bit ARM (#455107)
This commit is contained in:
@@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
patches = lib.optionals stdenv.hostPlatform.isMinGW [ ./mingw-remove-export.patch ];
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isArmv7 ''
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isAarch32 ''
|
||||
patchShebangs lib/arm/arm2gnu.pl
|
||||
'';
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config
|
||||
validatePkgConfig
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isArmv7 [
|
||||
++ lib.optionals stdenv.hostPlatform.isAarch32 [
|
||||
# Needed to run lib/arm/arm2gnu.pl for ARM assembly optimizations
|
||||
perl
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user