Skip to content

Commit

Permalink
fixup! Use GCC_TOOLCHAIN_ROOT with clang precompile command
Browse files Browse the repository at this point in the history
  • Loading branch information
aalkin committed Aug 15, 2024
1 parent 3c73004 commit ec053c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/cmake_modules/GandivaAddBitcode.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ function(gandiva_add_bitcode SOURCE)
if(GCC_TOOLCHAIN_ROOT)
list(APPEND
PRECOMPILE_COMMAND
--gcc-install-dir="$GCC_TOOLCHAIN_ROOT")
--gcc-install-dir
${GCC_TOOLCHAIN_ROOT})
endif()
if(ARROW_BINARY_DIR)
list(APPEND PRECOMPILE_COMMAND -I${ARROW_BINARY_DIR}/src)
Expand Down

0 comments on commit ec053c5

Please sign in to comment.