Use clang on OS X by default for building examples and tests

This commit is contained in:
Peter Thorson
2014-03-02 12:17:03 -06:00
parent 99461184d3
commit 40ed74a141
2 changed files with 4 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ elif env['PLATFORM'] == 'posix':
env.Append(CCFLAGS = ['-Wall'])
#env['LINKFLAGS'] = ''
elif env['PLATFORM'] == 'darwin':
if not os.environ.has_key('CXX'):
env['CXX'] = "clang++"
if env.has_key('DEBUG'):
env.Append(CCFLAGS = ['-g', '-O0'])
else:

View File

@@ -46,6 +46,8 @@ HEAD
endpoints to new connections.
- Compatibility: Fix compile time conflict with Visual Studio's MIN/MAX macros. Thank you
Robin Rowe for reporting.
- Documentation: Examples and test suite build system now defaults to clang on
OS X
0.3.0-alpha4 - 2013-10-11
- HTTP requests ending normally are no longer logged as errors. Thank you Banaan