summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjirka-h <hladky.jiri@gmail.com>2019-11-14 21:17:23 +0100
committerGitHub <noreply@github.com>2019-11-14 21:17:23 +0100
commit2fa7c23fbbc49900473b5b0d60435a9f2b793971 (patch)
treebcbea5966d6fb1053a51286e9aabc0e05d87b122
parentUpdating systemd unit file - haveged is commonly used with containers (diff)
parentbuild: Fix compilation with --enable-threads (diff)
downloadhaveged-2fa7c23fbbc49900473b5b0d60435a9f2b793971.tar.xz
haveged-2fa7c23fbbc49900473b5b0d60435a9f2b793971.zip
Merge pull request #24 from Polynomial-C/enable-threads_build_fix
build: Fix compilation with --enable-threads
-rw-r--r--src/havegetune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/havegetune.c b/src/havegetune.c
index de39c53..6f14476 100644
--- a/src/havegetune.c
+++ b/src/havegetune.c
@@ -187,7 +187,7 @@ void havege_tune( /* RETURN: none */
*bp++ = BUILD_CPUID;
#endif
#if NUMBER_CORES>1
- *bp++ = BUILD_THREAD;
+ *bp++ = BUILD_THREADS;
#endif
#ifdef ONLINE_TESTS_ENABLE
*bp++ = BUILD_OLT;