Resolve warnings:

Add boost to system path when compiling with clang.
Remove check for null for a var that can never be null.
This commit is contained in:
seelabs
2016-05-14 22:21:42 -04:00
parent 4ed6cbdd5b
commit 67b1acbf78
2 changed files with 1 additions and 2 deletions

View File

@@ -457,7 +457,7 @@ def add_boost_and_protobuf(toolchain, env):
os.path.join(BOOST_ROOT, 'stage', 'lib'),
])
env['BOOST_ROOT'] = BOOST_ROOT
if toolchain == 'gcc':
if toolchain in ['gcc', 'clang']:
env.Append(CCFLAGS=['-isystem' + env['BOOST_ROOT']])
else:
env.Append(CPPPATH=[