Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with cc from Apple LLVM #93

Closed
wants to merge 1 commit into from

Conversation

barrykn
Copy link
Contributor

@barrykn barrykn commented Apr 24, 2014

On Xcode 4.x and above (I tested Xcode 4.6.3 on 10.7.5 and Xcode 5.5.1 on 10.9.2), cmake (2.8.12.2, whether from MacPorts or from clang.org, FWIW) is detecting /usr/bin/cc as Clang, but CMAKE_COMPILER_IS_CLANG is not getting set, so the tests aren't being built. (There may have been other build problems as well, but the fact that the tests weren't being built was by far the most obvious problem.)

Checking the compiler ID detected by cmake, rather than the name of the command used to invoke the compiler, fixes this.

On Xcode 4.x and above (I tested Xcode 4.6.3 on 10.7.5 and Xcode 5.5.1 on 10.9.2), cmake (2.8.12.2, whether from MacPorts or from clang.org, FWIW) is detecting /usr/bin/cc as Clang, but CMAKE_COMPILER_IS_CLANG is not getting set, so the tests aren't being built. (There may have been other build problems as well, but the fact that the tests weren't being built was by far the most obvious problem.)

Checking the compiler ID detected by cmake, rather than the name of the command used to invoke the compiler, fixes this.
@mpg
Copy link
Contributor

mpg commented Apr 30, 2014

Merged in the developement branch for the next release. Thanks.

@mpg mpg closed this Apr 30, 2014
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this pull request Jan 21, 2021
iameli pushed a commit to livepeer/mbedtls that referenced this pull request Dec 5, 2023
Don't include AES-192 when compiling against BoringSSL.
iameli pushed a commit to livepeer/mbedtls that referenced this pull request Dec 5, 2023
PR Mbed-TLS#93 added the SRTP_NO_AES192 macro and removed all references to AES-192
if it was set. The goal was to get libsrtp to compile with BoringSSL, which
didn't support AES-192 at the time (Feb 2015).

In the time since, BoringSSL has restored support for AES-192:
https://boringssl.googlesource.com/boringssl/+/1049e26f
https://boringssl.googlesource.com/boringssl/+/5dca031c

Remove the SRTP_NO_AES192 macro, since it's no longer needed.
Effectively reverts Mbed-TLS#93.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants