mbedtls: add conflicts over inline asm trouble with clang@12: (#30801)

This commit is contained in:
Harmen Stoppels 2022-05-25 14:41:49 +02:00 committed by GitHub
parent 13984a4e8d
commit 3620204db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,10 @@ class Mbedtls(MakefilePackage):
depends_on('python@3:', type='test', when='@3:') depends_on('python@3:', type='test', when='@3:')
depends_on('python@:2', type='test', when='@:2') depends_on('python@:2', type='test', when='@:2')
# See https://github.com/Mbed-TLS/mbedtls/issues/4917
# Only 2.16.12, 2.28.0 and 3.1.0 support clang 12.
conflicts('%clang@12:', when='@:2.16.11,2.17:2.27,2.29:3.0')
# See https://github.com/ARMmbed/mbedtls/pull/5126 # See https://github.com/ARMmbed/mbedtls/pull/5126
# and the 2.x backport: https://github.com/ARMmbed/mbedtls/pull/5133 # and the 2.x backport: https://github.com/ARMmbed/mbedtls/pull/5133
patch('fix-dt-needed-shared-libs.patch', when='@2.7:2.27,3.0.0') patch('fix-dt-needed-shared-libs.patch', when='@2.7:2.27,3.0.0')