diff options
author | Chris Johns <chrisj@rtems.org> | 2014-07-25 21:45:01 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-07-25 21:45:01 +1000 |
commit | 712ef18988a41215653169fe4ca7a07dc08da211 (patch) | |
tree | 51f594556967b801b940b31a680ee871b45ed009 /source-builder/sb/darwin.py | |
parent | sb: Fix error handling. (diff) | |
download | rtems-source-builder-712ef18988a41215653169fe4ca7a07dc08da211.tar.bz2 |
sb: Add CXX flags support rather than use CFLAGS.
Diffstat (limited to 'source-builder/sb/darwin.py')
-rw-r--r-- | source-builder/sb/darwin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source-builder/sb/darwin.py b/source-builder/sb/darwin.py index bdeba6e..91438b7 100644 --- a/source-builder/sb/darwin.py +++ b/source-builder/sb/darwin.py @@ -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'] |