From 8dd3803af1618bcc2734f488988b9106e47024fb Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 8 May 2018 15:09:44 +1000 Subject: linkers/exe-info: Set the data endian for getting the init/fini sec data. --- linkers/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linkers/wscript') 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'] # -- cgit v1.2.3