mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
Explicitly pass -pthread flag to fix the build after some updates
This commit is contained in:
parent
ae3b88aae4
commit
ed38a2d32b
@ -77,6 +77,10 @@ stdenv.mkDerivation rec {
|
||||
(mkEnable true "heimdal-documentation" null)
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -pthread"
|
||||
'';
|
||||
|
||||
# We need to build hcrypt for applications like samba
|
||||
postBuild = ''
|
||||
(cd lib/hcrypto; make)
|
||||
|
Loading…
Reference in New Issue
Block a user