From 89c0b4accf0655d280f6c84a332cc95a03e90aef Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Tue, 16 Jul 2024 23:45:13 -0600 Subject: libgcrypt: conflict with darwin when @1.11.0 (#45264) Co-authored-by: Massimiliano Culpo --- var/spack/repos/builtin/packages/libgcrypt/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/libgcrypt/package.py b/var/spack/repos/builtin/packages/libgcrypt/package.py index 1f2ad2f7c7..5578d4f14c 100644 --- a/var/spack/repos/builtin/packages/libgcrypt/package.py +++ b/var/spack/repos/builtin/packages/libgcrypt/package.py @@ -41,6 +41,9 @@ class Libgcrypt(AutotoolsPackage): depends_on("libgpg-error@1.27:", when="@1.9:") depends_on("libgpg-error@1.49:", when="@1.11:") + # See https://dev.gnupg.org/T7170 + conflicts("platform=darwin", when="@1.11.0") + def flag_handler(self, name, flags): # We should not inject optimization flags through the wrapper, because # the jitter entropy code should never be compiled with optimization -- cgit v1.2.3-70-g09d2