Explicitly pass -pthread flag to fix the build after some updates
This commit is contained in:
parent
47c2726363
commit
a54e796cff
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
|
||||
"--without-x"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -pthread"
|
||||
'';
|
||||
|
||||
# We need to build hcrypt for applications like samba
|
||||
postBuild = ''
|
||||
(cd lib/hcrypto; make)
|
||||
|
Loading…
x
Reference in New Issue
Block a user