diff --git a/.bazelrc b/.bazelrc index 85b153fb2..9472327e2 100644 --- a/.bazelrc +++ b/.bazelrc @@ -30,8 +30,8 @@ build:gcc_or_clang --host_per_file_copt=upb/.*\\.c$@-Wno-array-bounds,-Wno-strin build:gcc_or_clang --per_file_copt=upbc/.*\\.cc$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread build:gcc_or_clang --host_per_file_copt=upbc/.*\\.cc$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread -build:gcc_or_clang --per_file_copt=src/core.*\\.cc$@-Wno-attributes -build:gcc_or_clang --host_per_file_copt=src/core.*\\.cc$@-Wno-attributes +build:gcc_or_clang --per_file_copt=grpc/src/.*\\.cc$@-Wno-attributes +build:gcc_or_clang --host_per_file_copt=grpc/src/.*\\.cc$@-Wno-attributes # Use colors build:gcc_or_clang --copt=-fdiagnostics-color=always diff --git a/third_party/com_github_cares_cares/config/linux.h b/third_party/com_github_cares_cares/config/linux.h index 89588619e..414a793e1 100644 --- a/third_party/com_github_cares_cares/config/linux.h +++ b/third_party/com_github_cares_cares/config/linux.h @@ -132,7 +132,7 @@ #define HAVE_GETNAMEINFO 1 /* Define to 1 if you have the getrandom function. */ -#define HAVE_GETRANDOM 1 +/* #undef HAVE_GETRANDOM */ /* Define to 1 if you have the getservbyport_r function. */ #define HAVE_GETSERVBYPORT_R 1 @@ -328,7 +328,7 @@ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ -#define HAVE_SYS_RANDOM_H 1 +/* #undef HAVE_SYS_RANDOM_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EVENT_H */