Skip to content

Commit ac0cd14

Browse files
zuerchermattklein123
authored andcommitted
macos: tweak boringssl build config for xcode 9 (envoyproxy#1785)
Signed-off-by: Stephan Zuercher <stephan@turbinelabs.io>
1 parent 5835c21 commit ac0cd14

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/build_container/build_recipes/boringssl.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
set -e
44

5+
# TODO(zuercher): Xcode 9 seems to need this or else boringssl doesn't compile
6+
if [[ `uname` == "Darwin" ]];
7+
then
8+
export CPPFLAGS="$CPPFLAGS -D_DARWIN_C_SOURCE"
9+
fi
10+
511
COMMIT=14308731e5446a73ac2258688a9688b524483cb6 # chromium-61.0.3163.81
612

713
git clone https://boringssl.googlesource.com/boringssl

0 commit comments

Comments
 (0)