lol

v8: Build 3.16.14 on ARM

Rhys 934a460f 7465bcd6

+5 -1
+5 -1
pkgs/development/libraries/v8/3.16.14.nix
··· 3 3 assert readline != null; 4 4 5 5 let 6 - arch = if stdenv.is64bit then "x64" else "ia32"; 6 + arch = if stdenv.isArm 7 + then (if stdenv.is64bit then "arm64" else "arm") 8 + else (if stdenv.is64bit then "x64" else "ia32"); 9 + armHardFloat = stdenv.isArm && (stdenv.platform.gcc.float or null) == "hard"; 7 10 in 8 11 9 12 stdenv.mkDerivation rec { ··· 34 37 -Dconsole=readline \ 35 38 -Dcomponent=shared_library \ 36 39 -Dv8_target_arch=${arch} \ 40 + ${lib.optionalString armHardFloat "-Dv8_use_arm_eabi_hardfloat=true"} \ 37 41 --depth=. -Ibuild/standalone.gypi \ 38 42 build/all.gyp 39 43 '';