Skip to content
Snippets Groups Projects
Commit 1d8e7050 authored by Pavel Cherenkov's avatar Pavel Cherenkov
Browse files

custom-build: corrected syntax to dereference HAVE_UNWIND_H properly

parent 7c532ef9
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,9 @@ macro (luajit_build)
set (luajit_copt ${luajit_copt} -O1)
set (luajit_buildoptions ${luajit_buildoptions} XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT')
else ()
set (luajit_copt ${luajit_copt} -O2)
set (luajit_copt ${luajit_copt} -O2)
endif()
if (NOT ${HAVE_UNWIND_H})
if (NOT HAVE_UNWIND_H)
set (luajit_copt ${luajit_copt} -I${PROJECT_SOURCE_DIR}/third_party/compat)
endif()
set (luajit_buildoptions ${luajit_buildoptions} CCOPT="${luajit_copt}")
......
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