Skip to content

Commit 46edfcf

Browse files
committed
Merge remote-tracking branch 'origin/staging-next' into staging
2 parents 4f2be01 + 8085bb8 commit 46edfcf

3 files changed

Lines changed: 28 additions & 5 deletions

File tree

pkgs/build-support/cc-wrapper/default.nix

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -804,9 +804,21 @@ stdenvNoCC.mkDerivation {
804804
# Do not prevent omission of framepointers on x86 32bit due to the small
805805
# number of general purpose registers. Keeping EBP available provides
806806
# non-trivial performance benefits.
807-
+ optionalString (!targetPlatform.isx86_32) ''
808-
echo " -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer " >> $out/nix-support/cc-cflags-before
809-
''
807+
+ (
808+
let
809+
enable_fp = !targetPlatform.isx86_32;
810+
enable_leaf_fp =
811+
enable_fp
812+
&& (
813+
targetPlatform.isx86_64
814+
|| targetPlatform.isAarch64
815+
|| (targetPlatform.isRiscV && (!isGNU || versionAtLeast ccVersion "15.1"))
816+
);
817+
in
818+
optionalString enable_fp ''
819+
echo " -fno-omit-frame-pointer ${optionalString enable_leaf_fp "-mno-omit-leaf-frame-pointer "}" >> $out/nix-support/cc-cflags-before
820+
''
821+
)
810822

811823
# For clang, this is handled in add-clang-cc-cflags-before.sh
812824
+ optionalString (!isClang && machineFlags != [ ]) ''

pkgs/development/libraries/pipewire/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ in
8282

8383
stdenv.mkDerivation (finalAttrs: {
8484
pname = "pipewire";
85-
version = "1.4.4";
85+
version = "1.4.5";
8686

8787
outputs = [
8888
"out"
@@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
9898
owner = "pipewire";
9999
repo = "pipewire";
100100
rev = finalAttrs.version;
101-
sha256 = "sha256-ullr00XbYrjwAAkQ6tWRayoS3aFuQsbDpSv06pgBDSA=";
101+
sha256 = "sha256-5fBpthIGsvMYrQyRb6n1uiNtJ3pl2ejAFr1e/UUga8w=";
102102
};
103103

104104
patches = [

pkgs/development/python-modules/meson-python/default.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
stdenv,
34
buildPythonPackage,
45
fetchPypi,
56
pythonOlder,
@@ -82,6 +83,16 @@ buildPythonPackage rec {
8283
"test_user_args"
8384
"test_vendored_meson"
8485
];
86+
# meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the
87+
# actual platform version during tests, which mismatches.
88+
# https://github.com/mesonbuild/meson-python/issues/760
89+
preCheck =
90+
if stdenv.hostPlatform.isDarwin then
91+
''
92+
unset MACOSX_DEPLOYMENT_TARGET
93+
''
94+
else
95+
null;
8596

8697
setupHooks = [ ./add-build-flags.sh ];
8798

0 commit comments

Comments
 (0)