void-packages/srcpkgs/faust/patches/faust-musl-stacktrace.patch

15 lines
377 B
Diff
Raw Normal View History

--- compiler/errors/errormsg.cpp-old 2019-12-22 19:47:17.694670614 +0100
+++ compiler/errors/errormsg.cpp 2019-12-22 19:48:25.145673133 +0100
@@ -43,9 +43,11 @@
gGlobal->printCompilationOptions(str);
}
str << ")\n";
+#ifdef __GLIBC__
#ifndef EMCC
stacktrace(str, 20);
#endif
+#endif
throw faustexception(str.str());
}
}