diff options
author | Chris Johns <chrisj@rtems.org> | 2017-10-02 10:57:34 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-10-02 10:57:34 +1100 |
commit | 0c2d2a3317482c5e342a688b62496d1cc2853e39 (patch) | |
tree | a344e38ce4d710c07060c85709ece8f6f10beca4 | |
parent | 2f48aef04f0e9f2a1dd7846989d42b93b0bf25d4 (diff) |
Use the returned cflags. Add a Python 3 print helper.
-rw-r--r-- | rtems.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# + # Copyright 2012-2016 Chris Johns (chrisj@rtems.org) # # Redistribution and use in source and binary forms, with or without @@ -22,6 +22,8 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +from __future__ import print_function + # # RTEMS support for applications. # @@ -236,7 +238,7 @@ def configure(conf, bsp_configure = None): arch, rtems_path) conf.env.CFLAGS = cflags['cflags'] - conf.env.CXXFLAGS = conf.env.CFLAGS + conf.env.CXXFLAGS = cflags['cflags'] conf.env.ASFLAGS = cflags['cflags'] conf.env.WFLAGS = cflags['warnings'] conf.env.RFLAGS = cflags['specs'] |