Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit b12e777

Browse files
committed
fix build of boringssl with newer compilers (gcc5)
getaddrinfo is a POSIX extension. newer compilers (gcc5?) require additional cflags to use getaddrinfo and friends.
1 parent b623abb commit b12e777

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

third_party/serf/openssl.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
'sources': [
6161
'<@(boringssl_lib_sources)',
6262
],
63+
'cflags': [
64+
'-D_POSIX_C_SOURCE=200112L',
65+
],
6366
'defines': [ 'BORINGSSL_IMPLEMENTATION' ],
6467
'conditions': [
6568
['component == "shared_library"', {

0 commit comments

Comments
 (0)