diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-29 15:04:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-29 15:04:30 +0200 |
commit | 0417338bbbe28377a5c20e1b0d38dc802ea06b2b (patch) | |
tree | e3cb305b4fae81843c8e9df7e6fbce632923cb73 /tests/backtrace/buildfile | |
parent | 5ea81f5bc791243ac77e82276a8a5a3faa3e155f (diff) |
Only enable backtrace support on Linux if using glibc
Other libc implementations, for example musl, don't support this out of the
box.
Diffstat (limited to 'tests/backtrace/buildfile')
-rw-r--r-- | tests/backtrace/buildfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtrace/buildfile b/tests/backtrace/buildfile index a4120df..d6b2773 100644 --- a/tests/backtrace/buildfile +++ b/tests/backtrace/buildfile @@ -8,5 +8,5 @@ exe{driver}: {hxx cxx}{*} $libs testscript # Make sure backtrace() includes function names. # -if ($cxx.target.class == 'linux') +if ($cxx.target.class == 'linux' && $cc.stdlib == 'glibc') cxx.loptions += -rdynamic |