forked from mirrors/nixpkgs
Desperate effort to fix x86_64 build by using -fPIC
svn path=/nixpkgs/trunk/; revision=12942
This commit is contained in:
parent
3a7ffa5c58
commit
b6531cd295
|
@ -43,6 +43,8 @@ stdenv.mkDerivation {
|
|||
"--disable-crashreporter"
|
||||
];
|
||||
|
||||
preConfigure = ''export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC"'';
|
||||
|
||||
postInstall = ''
|
||||
export dontPatchELF=1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue