Permalink
Browse files

fix build of boringssl with newer compilers (gcc5)

getaddrinfo is a POSIX extension.

newer compilers (gcc5?) require additional cflags to use getaddrinfo and
friends.
  • Loading branch information...
crowell committed Oct 7, 2015
1 parent 4b3fc6d commit 4cbc9320342dc1314db31eb9514da39058c6c6c7
Showing with 3 additions and 0 deletions.
  1. +3 −0 third_party/serf/openssl.gyp
@@ -60,6 +60,9 @@
'sources': [
'<@(boringssl_lib_sources)',
],
'cflags': [
'-D_POSIX_C_SOURCE=200112L',
],
'defines': [ 'BORINGSSL_IMPLEMENTATION' ],
'conditions': [
['component == "shared_library"', {

0 comments on commit 4cbc932

Please sign in to comment.