• Adam Cozzette's avatar
    Avoid linking against libatomic when building protoc (#5922) · 34b64995
    Adam Cozzette authored
    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.
    34b64995
Name
Last commit
Last update
..
Dockerfile Loading commit data...
README.md Loading commit data...
build-protoc.sh Loading commit data...
build-zip.sh Loading commit data...
pom.xml Loading commit data...
scl-enable-devtoolset.sh Loading commit data...