diff options
author | Chris Johns <chrisj@rtems.org> | 2018-05-08 15:09:44 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-06-15 15:54:25 +1000 |
commit | 8dd3803af1618bcc2734f488988b9106e47024fb (patch) | |
tree | 067f287ce90ceacbdcb9cc43394aa05fd13e6401 /linkers/wscript | |
parent | 3618a62faf8c4a8cad51779368d091f0480450fd (diff) |
linkers/exe-info: Set the data endian for getting the init/fini sec data.
Diffstat (limited to '')
-rw-r--r-- | linkers/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linkers/wscript b/linkers/wscript index 46c8532..ecb0335 100644 --- a/linkers/wscript +++ b/linkers/wscript @@ -56,6 +56,7 @@ def build(bld): rtemstoolkit = '../rtemstoolkit' conf['includes'] = [rtemstoolkit, rtemstoolkit + '/elftoolchain/libelf', + rtemstoolkit + '/elftoolchain/libdwarf', rtemstoolkit + '/elftoolchain/common', rtemstoolkit + '/libiberty'] if bld.env.DEST_OS == 'win32': @@ -63,7 +64,7 @@ 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['cxxflags'] = ['-pipe', '-g', '--std=c++11'] + conf['optflags'] conf['linkflags'] = ['-g'] # |