@@ -186,7 +186,7 @@ function(toolchain_deps toolchain_deps_dir toolchain_install_dir toolchain_suffi
186186 URL_HASH ${LIBELF_HASH}
187187 DOWNLOAD_DIR ${DOWNLOAD_DIR}
188188 PATCH_COMMAND patch -d <SOURCE_DIR > -p3 -t -N < ${PROJECT_SOURCE_DIR} /patches/libelf.patch
189- CONFIGURE_COMMAND CC=${cc_compiler} RANLIB=${ranlib} ${compiler_flags} ${wrapper_command} <SOURCE_DIR >/configure
189+ CONFIGURE_COMMAND autoreconf -i < SOURCE_DIR > COMMAND CC=${cc_compiler} RANLIB=${ranlib} ${compiler_flags} ${wrapper_command} <SOURCE_DIR >/configure
190190 --build=${build_native}
191191 --host=${toolchain_host}
192192 --prefix =${toolchain_deps_dir}
@@ -294,8 +294,6 @@ function(toolchain_deps toolchain_deps_dir toolchain_install_dir toolchain_suffi
294294 ${UPDATE_DISCONNECTED_SUPPORT}
295295 )
296296
297- fix_repo_update (vita-toolchain${suffix} )
298-
299297 ExternalProject_Add (binutils${suffix}
300298 URL https://ftp.gnu.org/gnu/binutils/binutils-${BINUTILS_VERSION} .tar.xz
301299 URL_HASH ${BINUTILS_HASH}
@@ -516,8 +514,6 @@ ExternalProject_add(vita-headers
516514 ${UPDATE_DISCONNECTED_SUPPORT}
517515 )
518516
519- fix_repo_update (vita-headers )
520-
521517ExternalProject_Add (newlib
522518 DEPENDS binutils_${target_suffix} gcc-base vita-headers
523519 GIT_REPOSITORY https://github.com/vitasdk/newlib
@@ -545,8 +541,6 @@ ExternalProject_Add(newlib
545541 ${UPDATE_DISCONNECTED_SUPPORT}
546542 )
547543
548- fix_repo_update (newlib )
549-
550544# Build a complete gcc compiler to be able to compile the full gcc for the host when crosscompiling.
551545# Using gcc-base doesn't work since is missing some headers.
552546if (CMAKE_TOOLCHAIN_FILE )
@@ -602,8 +596,6 @@ ExternalProject_Add(pthread-embedded
602596 ${UPDATE_DISCONNECTED_SUPPORT}
603597 )
604598
605- fix_repo_update (pthread-embedded )
606-
607599ExternalProject_add (gcc-final
608600 DEPENDS gmp_${target_suffix} mpfr_${target_suffix} mpc_${target_suffix} isl_${target_suffix} libelf_${target_suffix}
609601 DEPENDS newlib ${GCC_DEPENDS} pthread-embedded
@@ -656,8 +648,6 @@ ExternalProject_Add(samples
656648 ${UPDATE_DISCONNECTED_SUPPORT}
657649 )
658650
659- fix_repo_update (samples )
660-
661651ExternalProject_Add (vdpm
662652 GIT_REPOSITORY https://github.com/vitasdk/vdpm.git
663653 GIT_TAG ${VDPM_TAG}
@@ -672,8 +662,6 @@ ExternalProject_Add(vdpm
672662 ${UPDATE_DISCONNECTED_SUPPORT}
673663 )
674664
675- fix_repo_update (vdpm )
676-
677665ExternalProject_Add (vita-makepkg
678666 GIT_REPOSITORY https://github.com/vitasdk/vita-makepkg.git
679667 GIT_TAG ${VITA_MAKEPKG_TAG}
@@ -688,8 +676,6 @@ ExternalProject_Add(vita-makepkg
688676 ${UPDATE_DISCONNECTED_SUPPORT}
689677 )
690678
691- fix_repo_update (vita-makepkg )
692-
693679if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
694680 getgcclib (libwinpthread-1.dll WINPTHREAD_DLL )
695681 if (WINPTHREAD_DLL)
0 commit comments