Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
fix build of boringssl with newer compilers (gcc5)
Browse files Browse the repository at this point in the history
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 4cbc932
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions third_party/serf/openssl.gyp
Expand Up @@ -60,6 +60,9 @@
'sources': [
'<@(boringssl_lib_sources)',
],
'cflags': [
'-D_POSIX_C_SOURCE=200112L',
],
'defines': [ 'BORINGSSL_IMPLEMENTATION' ],
'conditions': [
['component == "shared_library"', {
Expand Down

0 comments on commit 4cbc932

Please sign in to comment.