rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.76k stars 312 forks source link

Add C compiler argument for grpc dependence #462

Closed arturo-salinas closed 2 years ago

arturo-salinas commented 2 years ago

If an old C compiler is installed and is marked as default; the grpc dependence will use this compiler to create implicit libraries that will fail during linking. To avoid this situation the correct C compiler can be selected using arguments when executing cmake command. With this fix; the C compiler that is input as argument will be propagated to the grpc dependence and the fault will not happen.