about summary refs log tree commit diff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-06T19·51+0100
committerEelco Dolstra <edolstra@gmail.com>2018-02-06T19·51+0100
commit6f6bfc820544c3fe9cc35ec67ed3f9d4c6a293a3 (patch)
treecf9703dd9236f53cdf47cc4c0c1c117abc255eed /src/nix/local.mk
parent694b6d229bb5fb7edcef37380308850d3d48b991 (diff)
Update the progress bar at most 20 times per second
Fixes #1834.
Diffstat (limited to 'src/nix/local.mk')
-rw-r--r--src/nix/local.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
index bddd53b168d3..f76da194467c 100644
--- a/src/nix/local.mk
+++ b/src/nix/local.mk
@@ -6,4 +6,6 @@ nix_SOURCES := $(wildcard $(d)/*.cc) $(wildcard src/linenoise/*.cpp)
 
 nix_LIBS = libexpr libmain libstore libutil libformat
 
+nix_LDFLAGS = -pthread
+
 $(eval $(call install-symlink, nix, $(bindir)/nix-hash))