mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 22:45:49 +00:00
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:
@@ -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=[
|
||||
|
||||
Reference in New Issue
Block a user