Merge pull request #198 from jcumming/zfs.121126.1
Need pthread_cancel for zdb to work properly. Add -lgcc_s.
This commit is contained in:
commit
7838d3568b
@ -11,6 +11,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ kernel spl perl autoconf automake libtool zlib libuuid coreutils ];
|
buildInputs = [ kernel spl perl autoconf automake libtool zlib libuuid coreutils ];
|
||||||
|
|
||||||
|
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
|
||||||
|
NIX_CFLAGS_LINK = "-lgcc_s";
|
||||||
NIX_CFLAGS_COMPILE = "-I${kernel}/lib/modules/${kernel.modDirVersion}/build/include/generated";
|
NIX_CFLAGS_COMPILE = "-I${kernel}/lib/modules/${kernel.modDirVersion}/build/include/generated";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user