From 0c2d2a3317482c5e342a688b62496d1cc2853e39 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 2 Oct 2017 10:57:34 +1100 Subject: Use the returned cflags. Add a Python 3 print helper. --- rtems.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rtems.py b/rtems.py index b3e177b..be44edc 100644 --- a/rtems.py +++ b/rtems.py @@ -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'] -- cgit v1.2.3