Author: viric
Date: Fri Dec 17 20:41:25 2010
New Revision: 25189
URL: https://svn.nixos.org/websvn/nix/?rev=25189&sc=1
Log:
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.
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/interpreters/spidermonkey/default.nix
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/interpreters/spidermonkey/default.nix
==============================================================================
---
nixpkgs/branches/stdenv-updates/pkgs/development/interpreters/spidermonkey/default.nix
Fri Dec 17 20:39:58 2010 (r25188)
+++
nixpkgs/branches/stdenv-updates/pkgs/development/interpreters/spidermonkey/default.nix
Fri Dec 17 20:41:25 2010 (r25189)
@@ -21,5 +21,7 @@
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";
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits