mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Fixing the build of spidermonkey (on -fPIC) for mips.
They enable automatically the -fPIC only on x86_64, while I think most non-i686 needs it. svn path=/nixpkgs/branches/stdenv-updates/; revision=25189
This commit is contained in:
parent
b48b2a7bb4
commit
cd6de2880f
|
@ -21,5 +21,7 @@ stdenv.mkDerivation rec {
|
|||
sed -e 's/ -ltermcap/ -lncurses/' -i ${makefile}
|
||||
'';
|
||||
|
||||
CFLAGS = "-DPIC -fPIC -DJS_C_STRINGS_ARE_UTF8";
|
||||
|
||||
makeFlags = "-f ${makefile} JS_DIST=\${out} BUILD_OPT=1 JS_READLINE=1";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue