Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add _GNU_SOURCE to libevent build for Android builds (#7497)
The Android NDK doesn't assume `_GNU_SOURCE`, clang only assumes it for C++ builds, not C builds. libevent uses `pipe2` which in the NDK is only exposed in the header when these variables are set. In bazel 0.27.0 these implicit use became an error. More details: - envoyproxy/envoy-mobile#116 - libevent/libevent#850 Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
- Loading branch information