commit | 135399a76fafd5217a2c8f4b03b24bb544bd821b | [log] [tgz] |
---|---|---|
author | Zach Bush <zmbush@google.com> | Wed Jun 26 09:27:25 2019 -0700 |
committer | Zach Bush <zmbush@google.com> | Wed Jun 26 09:27:39 2019 -0700 |
tree | 488d147a8829f27ce988045fe77ff5a49e7f9b83 | |
parent | 283dd578cf63625fb27ec7d55c6aac7fa76141ee [diff] |
[cobalt] Fix GN build for linux Change-Id: I526f0c449c6ce9b7ece5a21964f56af79072cd75
diff --git a/BUILD.gn b/BUILD.gn index ab97e9d..ed19a3f 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -10,6 +10,10 @@ config("cares_config") { include_dirs = [ "." ] defines = [ "HAVE_CONFIG_H" ] + + if (is_linux) { + defines += [ "_GNU_SOURCE" ] + } } static_library("cares") {