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)
|
(mkEnable true "heimdal-documentation" null)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -pthread"
|
||||||
|
'';
|
||||||
|
|
||||||
# We need to build hcrypt for applications like samba
|
# We need to build hcrypt for applications like samba
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
(cd lib/hcrypto; make)
|
(cd lib/hcrypto; make)
|
||||||
|
Loading…
Reference in New Issue
Block a user