aboutsummaryrefslogtreecommitdiff
path: root/tests/backtrace/buildfile
blob: 000ca1a0d128015080fab0ea3a8f0c88977eace1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# file      : tests/backtrace/buildfile
# 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