Skip to content
Snippets Groups Projects
Commit 9860efa8 authored by Olga Arkhangelskaia's avatar Olga Arkhangelskaia Committed by Kirill Yukhin
Browse files

build: enables LUAJIT_ENABLE_PAIRSMM by default

Turns on LUAJIT_ENABLE_PAIRSMM flag for tarantool build.
Now __pairs/__ipairs metamethods are available.

Closes #4650

(cherry picked from commit b504ca1a096a839f3a4fddc72a33457a3f0dc700)
parent 2a2d2e9f
No related branches found
No related tags found
No related merge requests found
......@@ -217,6 +217,7 @@ macro(luajit_build)
add_definitions(-DLUAJIT_USE_ASAN=1)
set (luajit_ldflags ${luajit_ldflags} -fsanitize=address)
endif()
add_definitions(-DLUAJIT_ENABLE_PAIRSMM=1)
add_definitions(-DLUAJIT_SMART_STRINGS=1)
# Add all COMPILE_DEFINITIONS to xcflags
get_property(defs DIRECTORY PROPERTY COMPILE_DEFINITIONS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment