Skip to content

Commit 5a5ea93

Browse files
committed
minimal fix
1 parent 6aa0fe6 commit 5a5ea93

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

r/inst/build_arrow_static.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,7 @@ ${CMAKE_WRAPPER} ${CMAKE} -DARROW_BOOST_USE_SHARED=OFF \
114114
-G "${CMAKE_GENERATOR:-Unix Makefiles}" \
115115
${SOURCE_DIR}
116116

117-
SANITIZED_MAKEFLAGS="${MAKEFLAGS/-jNA/}"
118-
printf 'MAKEFLAGS before sanitize: %s\n' "${MAKEFLAGS:-}"
119-
printf 'MAKEFLAGS after sanitize: %s\n' "${SANITIZED_MAKEFLAGS}"
120-
MAKEFLAGS="${SANITIZED_MAKEFLAGS}" ${CMAKE} --build . --target install -- -j"${N_JOBS}"
117+
MAKEFLAGS="${MAKEFLAGS/-jNA/}" ${CMAKE} --build . --target install -- -j $N_JOBS
121118

122119
if command -v sccache &> /dev/null; then
123120
echo "=== sccache stats after the build ==="

0 commit comments

Comments
 (0)