v8: fix 4.5.107 build
Similar to #14272, but fixes 4.5 build rather than generic. - Ignores errors due to strict-overflow warnings - Strips clang-only '-Wno-format-pedantic' flag out since this build uses gcc
This commit is contained in:
parent
d5adf1348b
commit
16bd51fc0d
@ -312,6 +312,7 @@
|
|||||||
pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
|
pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
|
||||||
prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>";
|
prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>";
|
||||||
profpatsch = "Profpatsch <mail@profpatsch.de>";
|
profpatsch = "Profpatsch <mail@profpatsch.de>";
|
||||||
|
proglodyte = "Proglodyte <proglodyte23@gmail.com>";
|
||||||
pshendry = "Paul Hendry <paul@pshendry.com>";
|
pshendry = "Paul Hendry <paul@pshendry.com>";
|
||||||
psibi = "Sibi <sibi@psibi.in>";
|
psibi = "Sibi <sibi@psibi.in>";
|
||||||
pSub = "Pascal Wittmann <mail@pascal-wittmann.de>";
|
pSub = "Pascal Wittmann <mail@pascal-wittmann.de>";
|
||||||
|
@ -83,6 +83,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,' build/gyp_v8
|
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,' build/gyp_v8
|
||||||
sed -i 's,/bin/echo,${coreutils}/bin/echo,' build/standalone.gypi
|
sed -i 's,/bin/echo,${coreutils}/bin/echo,' build/standalone.gypi
|
||||||
sed -i '/CR_CLANG_REVISION/ d' build/standalone.gypi
|
sed -i '/CR_CLANG_REVISION/ d' build/standalone.gypi
|
||||||
|
sed -i 's/-Wno-format-pedantic//g' build/standalone.gypi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
@ -104,6 +105,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ which ];
|
nativeBuildInputs = [ which ];
|
||||||
buildInputs = [ readline python icu patchelf ];
|
buildInputs = [ readline python icu patchelf ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
||||||
|
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
"LINK=g++"
|
"LINK=g++"
|
||||||
"-C out"
|
"-C out"
|
||||||
@ -135,7 +138,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Google's open source JavaScript engine";
|
description = "Google's open source JavaScript engine";
|
||||||
maintainers = with maintainers; [ cstrahan ];
|
maintainers = with maintainers; [ cstrahan proglodyte ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user