From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 900B34696C0 for ; Fri, 22 Nov 2019 15:03:55 +0300 (MSK) From: Olga Arkhangelskaia Date: Fri, 22 Nov 2019 15:03:46 +0300 Message-Id: <20191122120347.66629-2-arkholga@tarantool.org> In-Reply-To: <20191122120347.66629-1-arkholga@tarantool.org> References: <20191122120347.66629-1-arkholga@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v2 1/2] build: enables DLUAJIT_ENABLE_PAIRSMM by default List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Turns on DLUAJIT_ENABLE_PAIRSMM flag for tarantool build. Now pairs/ipairs metamehods are available. --- cmake/luajit.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/luajit.cmake b/cmake/luajit.cmake index 10df633d5..072db8269 100644 --- a/cmake/luajit.cmake +++ b/cmake/luajit.cmake @@ -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) -- 2.20.1 (Apple Git-117)