Skip to content

Commit 52e3418

Browse files
committed
Disable the position independent codegen
1 parent 0564f33 commit 52e3418

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ message(STATUS "STATIC_BUILD: ${STATIC_BUILD}")
8282
if (STATIC_BUILD)
8383
# XXX: Uncomment only after build with XRAY_STATIC_BUILD is fixed
8484
add_definitions(-DXRAY_STATIC_BUILD)
85-
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
8685
set(LIBS_LINK_TYPE STATIC)
8786
set(LUABIND_BUILD_SHARED OFF) # xrLuaBind
8887
set(BUILD_STATIC_LIB ON) # LuaJIT
8988
set(BUILD_DYNAMIC_LIB OFF) # LuaJIT
9089
else()
91-
set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
9290
set(LIBS_LINK_TYPE SHARED)
9391
endif()
9492

0 commit comments

Comments
 (0)