]> git.pld-linux.org Git - packages/mozjs38.git/blob - mozjs38-x32.patch
Added Disable-js-JIT-on-x32 and -x32 patches to fix build on x32
[packages/mozjs38.git] / mozjs38-x32.patch
1 --- mozilla-esr38/js/src/jstypes.h.x32fix       2017-03-21 08:17:52.446161040 +0100
2 +++ mozilla-esr38/js/src/jstypes.h      2017-03-21 08:18:23.531014466 +0100
3 @@ -142,7 +142,7 @@
4  # endif
5  #elif defined(__GNUC__)
6  /* Additional GCC defines are when running on Solaris, AIX, and HPUX */
7 -# if defined(__x86_64__) || defined(__sparcv9) || \
8 +# if (defined(__x86_64__) && !defined(__ILP32__)) || defined(__sparcv9) || \
9          defined(__64BIT__) || defined(__LP64__)
10  #  define JS_64BIT
11  # endif
This page took 0.05013 seconds and 3 git commands to generate.