aboutsummaryrefslogtreecommitdiff
path: root/tests/backtrace/buildfile
blob: d6b277395c837771e6e80451596b449379c8067d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# file      : tests/backtrace/buildfile
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

import libs = libbutl%lib{butl}

exe{driver}: {hxx cxx}{*} $libs testscript

# Make sure backtrace() includes function names.
#
if ($cxx.target.class == 'linux' && $cc.stdlib == 'glibc')
  cxx.loptions += -rdynamic