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

@@ -97,6 +97,7 @@ def load():
if check.check_exe(cxx, cxx):
raise error.general('no valid c++ not found')
defines['build_cflags'] = '-O2 -pipe -fbracket-depth=1024'
defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024'
cvs = 'cvs'
if check.check_exe(cvs, cvs):
defines['__cvs'] = cvs