summaryrefslogtreecommitdiffstats
path: root/rtems.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-10-02 10:57:34 +1100
committerChris Johns <chrisj@rtems.org>2017-10-02 10:57:34 +1100
commit0c2d2a3317482c5e342a688b62496d1cc2853e39 (patch)
treea344e38ce4d710c07060c85709ece8f6f10beca4 /rtems.py
parentrtems: Do not add --std=gnu+=11 when RTEMS is built with SMP. (diff)
downloadrtems_waf-0c2d2a3317482c5e342a688b62496d1cc2853e39.tar.bz2
Use the returned cflags. Add a Python 3 print helper.
Diffstat (limited to 'rtems.py')
-rw-r--r--rtems.py6
1 files 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']