spidermonkey_1_8_5: fix build with gcc8

closes #68765
closes #68763
This commit is contained in:
Robin Gloster 2019-09-14 12:18:36 +02:00
parent a5d5133e9c
commit a345623f2b
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -37,6 +37,12 @@ stdenv.mkDerivation {
patchFlags = "-p3";
# fixes build on gcc8
postPatch = ''
substituteInPlace ./methodjit/MethodJIT.cpp \
--replace 'asm volatile' 'asm'
'';
# On the Sheevaplug, ARM, its nanojit thing segfaults in japi-tests in
# "make check". Disabling tracejit makes it work, but then it needs the
# patch findvanilla.patch do disable a checker about allocator safety. In case