sb: Add CXX flags support rather than use CFLAGS.

This commit is contained in:
Chris Johns
2014-07-25 21:45:01 +10:00
parent fa87409ff0
commit 712ef18988
3 changed files with 11 additions and 4 deletions

View File

@@ -64,6 +64,8 @@ def load():
if int(version) >= 13:
defines['__cc'] = ('exe', 'required', '/usr/bin/cc')
defines['__cxx'] = ('exe', 'required', '/usr/bin/c++')
defines['build_cflags'] = '-O2 -pipe -fbracket-depth=1024'
defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024'
defines['_build'] = defines['_host']
defines['_build_vendor'] = defines['_host_vendor']