aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-05-17 08:19:52 +0200
committerClifford Wolf <clifford@clifford.at>2015-05-17 08:19:52 +0200
commit61512b6f4115fce5326b78914b675be278c6845f (patch)
tree57c8933bbe35e8bf18065f9382c033bf9731e154 /kernel
parentc2f30e0de41d93ef7e6468ba7041c51c971c6a0c (diff)
downloadyosys-61512b6f4115fce5326b78914b675be278c6845f.tar.gz
yosys-61512b6f4115fce5326b78914b675be278c6845f.tar.bz2
yosys-61512b6f4115fce5326b78914b675be278c6845f.zip
Verific build fixes
Diffstat (limited to 'kernel')
-rw-r--r--kernel/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index bf92daced..29644a067 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -264,7 +264,7 @@ void log_pop()
log_flush();
}
-#ifdef __linux__
+#if defined(__linux__) && defined(YOSYS_ENABLE_PLUGINS)
void log_backtrace(const char *prefix, int levels)
{
if (levels <= 0) return;