Skip to content

Commit

Permalink
Ensure librdkafka is configured correctly if compiler warnings are di…
Browse files Browse the repository at this point in the history
…sabled (envoyproxy#142)

Signed-off-by: Ted Poole <tpoole@redhat.com>
  • Loading branch information
tedjpoole authored Mar 22, 2022
1 parent a79d988 commit b1ae6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/foreign_cc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cc_library(
configure_make(
name = "librdkafka_build",
configure_in_place = True,
configure_options = ["--disable-ssl --disable-gssapi --disable-lz4-ext --disable-zstd && cp Makefile.config src/.. && cp config.h src/.."],
configure_options = ["--CFLAGS=\"${CFLAGS:-} -Werror=implicit-function-declaration\" --disable-ssl --disable-gssapi --disable-lz4-ext --disable-zstd && cp Makefile.config src/.. && cp config.h src/.."],
lib_source = "@edenhill_librdkafka//:all",
out_static_libs = [
"librdkafka.a",
Expand Down

0 comments on commit b1ae6b2

Please sign in to comment.