From bd91453bb146446e4763ea2dbc934dd271fe544b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Jul 2014 19:48:18 +0200 Subject: Pass -pthread only for programs that need it --- src/nix-daemon/local.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nix-daemon') diff --git a/src/nix-daemon/local.mk b/src/nix-daemon/local.mk index bab84e7addbc..e5538bada0b2 100644 --- a/src/nix-daemon/local.mk +++ b/src/nix-daemon/local.mk @@ -6,6 +6,8 @@ nix-daemon_SOURCES := $(d)/nix-daemon.cc nix-daemon_LIBS = libmain libstore libutil libformat +nix-daemon_LDFLAGS = -pthread + ifeq ($(OS), SunOS) nix-daemon_LDFLAGS += -lsocket endif -- cgit 1.4.1