diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-12-17 20:41:25 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-12-17 20:41:25 +0000 |
commit | cd6de2880faab0475af10898772d92dd79c89cf0 (patch) | |
tree | c7b5728dc9320fd6e12d7c92bdd44b5eb17aec93 /pkgs/development/interpreters/spidermonkey | |
parent | b48b2a7bb4add41c33f680df0117e3c92cc0515b (diff) |
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
Diffstat (limited to 'pkgs/development/interpreters/spidermonkey')
-rw-r--r-- | pkgs/development/interpreters/spidermonkey/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/spidermonkey/default.nix b/pkgs/development/interpreters/spidermonkey/default.nix index b63b38ebf29c3..e8d548df54868 100644 --- a/pkgs/development/interpreters/spidermonkey/default.nix +++ b/pkgs/development/interpreters/spidermonkey/default.nix @@ -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"; } |