-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid linking against libatomic when building protoc (#5922)
We ran into problems with precompiled protoc binaries not working on some systems because of the dependence on a dynamically linked libatomic. However, I found that linking against libatomic is not actually necessary in our protoc build environment. Inside configure.ac there's a test which figures out if we need to pass -latomic, and it does this by attempting to build a test binary. That binary was failing to build, but it turns out this was because we need to pass -std=c++11, not -latomic. This fixes #5875.
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters