Skip to content

Commit c115b39

Browse files
committed
build: remove autoreconf for libelf to preserve patch and fix Windows build
1 parent 1a4acb8 commit c115b39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function(toolchain_deps toolchain_deps_dir toolchain_install_dir toolchain_suffi
194194
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
195195
PATCH_COMMAND patch -d <SOURCE_DIR> -p3 -t -N < ${PROJECT_SOURCE_DIR}/patches/libelf.patch
196196
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/config.guess ${PROJECT_SOURCE_DIR}/config.sub <SOURCE_DIR>/
197-
CONFIGURE_COMMAND autoreconf -i <SOURCE_DIR> COMMAND CC=${cc_compiler} RANLIB=${ranlib} ${compiler_flags} ${wrapper_command} <SOURCE_DIR>/configure
197+
CONFIGURE_COMMAND CC=${cc_compiler} RANLIB=${ranlib} ${compiler_flags} ${wrapper_command} <SOURCE_DIR>/configure
198198
--build=${build_native}
199199
--host=${toolchain_host}
200200
--prefix=${toolchain_deps_dir}

0 commit comments

Comments
 (0)