about summary refs log tree commit diff
path: root/src/nix-store/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23T17·48+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-23T17·48+0200
commitbd91453bb146446e4763ea2dbc934dd271fe544b (patch)
tree35ab9744b2919d98d14948e6e9f8ce4cd87780aa /src/nix-store/local.mk
parentece531d1051e1e9e9bad586265d293c866a9c0ec (diff)
Pass -pthread only for programs that need it
Diffstat (limited to 'src/nix-store/local.mk')
-rw-r--r--src/nix-store/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/local.mk b/src/nix-store/local.mk
index dc049f348ff7..b887fe03389b 100644
--- a/src/nix-store/local.mk
+++ b/src/nix-store/local.mk
@@ -6,6 +6,6 @@ nix-store_SOURCES := $(wildcard $(d)/*.cc)
 
 nix-store_LIBS = libmain libstore libutil libformat
 
-nix-store_LDFLAGS = -lbz2
+nix-store_LDFLAGS = -lbz2 -pthread
 
 nix-store_CXXFLAGS = -DCURL=\"$(curl)\"