From 0417338bbbe28377a5c20e1b0d38dc802ea06b2b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 29 Oct 2019 15:04:30 +0200 Subject: Only enable backtrace support on Linux if using glibc Other libc implementations, for example musl, don't support this out of the box. --- tests/backtrace/buildfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.1