[examples-v2 commit] waf: add optimization and debug flags to top-level wscript

Gedare Bloom gedare at rtems.org
Thu Dec 12 19:49:53 UTC 2013


Module:    examples-v2
Branch:    master
Commit:    e966c73efaf30c5eb13a7d0260b4bf324bdffaea
Changeset: http://git.rtems.org/examples-v2/commit/?id=e966c73efaf30c5eb13a7d0260b4bf324bdffaea

Author:    Gedare Bloom <gedare at rtems.org>
Date:      Mon Nov 25 16:51:33 2013 -0500

waf: add optimization and debug flags to top-level wscript

---

 wscript |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/wscript b/wscript
index 7749843..5a8ff33 100644
--- a/wscript
+++ b/wscript
@@ -30,6 +30,7 @@ def configure(conf):
 
 def build(bld):
     rtems.build(bld)
+    bld.env.CFLAGS += ['-O2','-g']
     bld.recurse('hello')
     bld.recurse('filesystem/fat_ramdisk')
 




More information about the vc mailing list