Merge remote-tracking branch 'origin/staging-next' into staging

This commit is contained in:
Martin Weinelt
2025-06-04 17:10:57 +02:00
3 changed files with 28 additions and 5 deletions
+15 -3
View File
@@ -804,9 +804,21 @@ stdenvNoCC.mkDerivation {
# Do not prevent omission of framepointers on x86 32bit due to the small
# number of general purpose registers. Keeping EBP available provides
# non-trivial performance benefits.
+ optionalString (!targetPlatform.isx86_32) ''
echo " -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer " >> $out/nix-support/cc-cflags-before
''
+ (
let
enable_fp = !targetPlatform.isx86_32;
enable_leaf_fp =
enable_fp
&& (
targetPlatform.isx86_64
|| targetPlatform.isAarch64
|| (targetPlatform.isRiscV && (!isGNU || versionAtLeast ccVersion "15.1"))
);
in
optionalString enable_fp ''
echo " -fno-omit-frame-pointer ${optionalString enable_leaf_fp "-mno-omit-leaf-frame-pointer "}" >> $out/nix-support/cc-cflags-before
''
)
# For clang, this is handled in add-clang-cc-cflags-before.sh
+ optionalString (!isClang && machineFlags != [ ]) ''
@@ -82,7 +82,7 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "pipewire";
version = "1.4.4";
version = "1.4.5";
outputs = [
"out"
@@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "pipewire";
repo = "pipewire";
rev = finalAttrs.version;
sha256 = "sha256-ullr00XbYrjwAAkQ6tWRayoS3aFuQsbDpSv06pgBDSA=";
sha256 = "sha256-5fBpthIGsvMYrQyRb6n1uiNtJ3pl2ejAFr1e/UUga8w=";
};
patches = [
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
pythonOlder,
@@ -82,6 +83,16 @@ buildPythonPackage rec {
"test_user_args"
"test_vendored_meson"
];
# meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the
# actual platform version during tests, which mismatches.
# https://github.com/mesonbuild/meson-python/issues/760
preCheck =
if stdenv.hostPlatform.isDarwin then
''
unset MACOSX_DEPLOYMENT_TARGET
''
else
null;
setupHooks = [ ./add-build-flags.sh ];