We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3469b8 commit 2d27931Copy full SHA for 2d27931
cmake/BuildLuaJIT.cmake
@@ -16,7 +16,7 @@ macro(build_luajit LJ_VERSION)
16
set(LUAJIT_BASEDIR ${PROJECT_SOURCE_DIR}/patches/)
17
18
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
19
- AppendFlags(CFLAGS ${CMAKE_C_FLAGS_DEBUG})
+ AppendFlags(CFLAGS "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
20
AppendFlags(LDFLAGS ${CMAKE_C_FLAGS_DEBUG})
21
endif()
22
@@ -27,6 +27,7 @@ macro(build_luajit LJ_VERSION)
27
if (ENABLE_ASAN)
28
string(JOIN " " ASAN_FLAGS
29
-fsanitize=address
30
+ -fno-omit-frame-pointer
31
-DLUAJIT_USE_ASAN
32
-DLUAJIT_USE_SYSMALLOC=1
33
)
0 commit comments