Add proper endianness flag for dasm in luajit wrap

Fixes luajit almost completely breaking on aarch64 and probably
other non-x86 architectures.
This commit is contained in:
arch1t3cht 2023-10-12 23:04:22 +02:00
parent 49139f0a22
commit 4e6af75db4

View file

@ -21,6 +21,7 @@ else
hpre = '#include "@0@/../lj_arch.h"'.format(meson.current_source_dir())
checkdefs = [
['LJ_LE', '1', ['-D', 'ENDIAN_LE']],
['LJ_ARCH_BITS', '64', ['-D', 'P64']],
['LJ_HASJIT', '1', ['-D', 'JIT']],
['LJ_HASFFI', '1', ['-D', 'FFI']],