libgcrypt: conflict with darwin when @1.11.0 (#45264)

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Alec Scott 2024-07-16 23:45:13 -06:00 committed by GitHub
parent 8e5b51395a
commit 89c0b4accf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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