diff options
author | 2017-06-15 17:32:49 -0700 | |
---|---|---|
committer | 2017-06-15 17:35:58 -0700 | |
commit | f8d6fb7a94f3ff57f01322f87c34a48667f124ae (patch) | |
tree | de7619b5d74786505a111896087ac067c3085583 /templates/Makefile.template | |
parent | b6a42bdf1c14f9f84af45a9463f2ac4243f71b9c (diff) |
Update boringssl
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r-- | templates/Makefile.template | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template index 59a0aaa7cf..051a475d47 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -212,6 +212,9 @@ CFLAGS += -std=c99 -Wsign-conversion -Wconversion ${' '.join(warning_var('$(W_%s)', warning) for warning in PREFERRED_WARNINGS)} CXXFLAGS += -std=c++11 + ifeq ($(SYSTEM),Darwin) + CXXFLAGS += -stdlib=libc++ + endif % for arg in ['CFLAGS', 'CXXFLAGS', 'CPPFLAGS', 'LDFLAGS', 'DEFINES']: % if defaults.get('global', []).get(arg, None) is not None: ${arg} += ${defaults.get('global').get(arg)} |