pypy: disable pic hardening on i686
This commit is contained in:
parent
423e67b299
commit
bd739d1fae
@ -36,6 +36,8 @@ let
|
|||||||
++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc
|
++ stdenv.lib.optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc
|
||||||
++ stdenv.lib.optional zlibSupport zlib;
|
++ stdenv.lib.optional zlibSupport zlib;
|
||||||
|
|
||||||
|
hardeningDisable = stdenv.lib.optional stdenv.isi686 "pic";
|
||||||
|
|
||||||
C_INCLUDE_PATH = stdenv.lib.makeSearchPathOutput "dev" "include" buildInputs;
|
C_INCLUDE_PATH = stdenv.lib.makeSearchPathOutput "dev" "include" buildInputs;
|
||||||
LIBRARY_PATH = stdenv.lib.makeLibraryPath buildInputs;
|
LIBRARY_PATH = stdenv.lib.makeLibraryPath buildInputs;
|
||||||
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath (stdenv.lib.filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs);
|
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath (stdenv.lib.filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs);
|
||||||
|
Loading…
Reference in New Issue
Block a user