kou commented on code in PR #13475:
URL: https://github.com/apache/arrow/pull/13475#discussion_r912581031


##########
cpp/cmake_modules/DefineOptions.cmake:
##########
@@ -109,6 +109,9 @@ if(ARROW_DEFINE_OPTIONS)
 
   define_option(ARROW_NO_DEPRECATED_API "Exclude deprecated APIs from build" 
OFF)
 
+  define_option(ARROW_POSITION_INDEPENDENT_CODE

Review Comment:
   Good idea!
   But I disable `ARROW_POSITION_INDEPENDENT_CODE` (`ARROW_BUILD_SHARED=ON` and 
`ARROW_POSITION_INDEPENDENT_CODE=ON`) with `ARROW_BUILD_SHARED=ON` and 
`ARROW_POSITION_INDEPENDENT_CODE=OFF` instead of disabling `ARROW_BUILD_SHARED` 
(`ARROW_BUILD_SHARED=OFF` and `ARROW_POSITION_INDEPENDENT_CODE=OFF`). Because 
`ARROW_BUILD_SHARED=OFF` causes other errors with other options such as 
`ARROW_FLIGHT=ON`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to