summaryrefslogtreecommitdiffstats
path: root/trace/wscript
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-29 07:53:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-09-03 14:59:00 +0200
commite0ac299e06c8ecd50c1c0de62a397ae0bb44bf22 (patch)
tree5b379eee98b8bc2f4df4e4faa786ee4529c3fdae /trace/wscript
parentrecord: Synchronize with RTEMS (diff)
downloadrtems-tools-e0ac299e06c8ecd50c1c0de62a397ae0bb44bf22.tar.bz2
record: Convert to C++
Formatted with: clang-format -style=Chromium -i trace/record/record-main-lttng.cc Update #3665.
Diffstat (limited to '')
-rw-r--r--trace/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/trace/wscript b/trace/wscript
index a0f5498..bc28e85 100644
--- a/trace/wscript
+++ b/trace/wscript
@@ -29,9 +29,11 @@ def init(ctx):
def options(opt):
opt.load('compiler_c')
+ opt.load('compiler_cxx')
def configure(conf):
conf.load('compiler_c')
+ conf.load('compiler_cxx')
def build(bld):
#
@@ -57,7 +59,7 @@ def build(bld):
# Build rtems-record-lttng
#
bld.program(target = 'rtems-record-lttng',
- source = ['record/record-client.c', 'record/record-main-lttng.c'],
+ source = ['record/record-client.c', 'record/record-main-lttng.cc'],
includes = ['record'],
defines = defines,
cflags = conf['cflags'] + conf['warningflags'],