f0rmiga / gcc-toolchain

A fully-hermetic Bazel GCC toolchain for Linux.
Apache License 2.0
103 stars 24 forks source link

fix: user_compile_flags for all compile actions #35

Closed f0rmiga closed 2 years ago

f0rmiga commented 2 years ago

The user_compile_flags_feature was missing other compile actions, e.g., compiling C. This raised issues like missing extra copts from cc_library compiling .c code, leading to missing -Wno-implicit-function-declaration for the embedded @zlib//:zlib, which was producing spam warnings.