diff options
author | Chris Johns <chrisj@rtems.org> | 2018-05-08 15:09:38 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-06-15 15:54:25 +1000 |
commit | 558cab8e4f0d1793e7be21cc118aed5b293c022a (patch) | |
tree | b6947c683e48f41d12f6d7480081a52c624c0fa7 /rtemstoolkit/wscript | |
parent | bin2c: Fix warnings (diff) | |
download | rtems-tools-558cab8e4f0d1793e7be21cc118aed5b293c022a.tar.bz2 |
rtemstoolkit: Add libdwarf C++ interface.
Provide a C++ interface to libdwarf to:
- Manage DWARF debug data
- Manage CU
- Manage DIE
- Handle CU line addresses
- Handle CU source files
Update #3417
Diffstat (limited to 'rtemstoolkit/wscript')
-rw-r--r-- | rtemstoolkit/wscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemstoolkit/wscript b/rtemstoolkit/wscript index 808d974..4c30935 100644 --- a/rtemstoolkit/wscript +++ b/rtemstoolkit/wscript @@ -70,8 +70,8 @@ def build(bld): # conf['warningflags'] = ['-Wall', '-Wextra', '-pedantic'] conf['optflags'] = bld.env.C_OPTS - conf['cflags'] = ['-pipe', '-g'] + conf['optflags'] - conf['cxxflags'] = ['-pipe', '-g'] + conf['optflags'] + conf['cflags'] = list(set(['-pipe', '-g'] + conf['optflags'])) + conf['cxxflags'] = list(set(['-pipe', '-g', '-std=c++11'] + conf['optflags'])) conf['linkflags'] = ['-g'] # @@ -90,6 +90,7 @@ def build(bld): 'rld-cc.cpp', 'rld-compression.cpp', 'rld-config.cpp', + 'rld-dwarf.cpp', 'rld-elf.cpp', 'rld-files.cpp', 'rld-outputter.cpp', |