From 7903176f0c0f3a709206ad9f2fae25ddfcc39475 Mon Sep 17 00:00:00 2001 From: Aleksandar Janicijevic Date: Fri, 19 Jul 2024 15:17:16 -0400 Subject: [PATCH] Renamed TIMEMORY_BINUTILS_DOWNLOAD_URL to BINUTILS_DOWNLOAD_URL. This change is part of the fix for SWDEV-471917. --- cmake/Modules/ConfigBinutils.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Modules/ConfigBinutils.cmake b/cmake/Modules/ConfigBinutils.cmake index cb3ef1efc..0e4c7ca10 100644 --- a/cmake/Modules/ConfigBinutils.cmake +++ b/cmake/Modules/ConfigBinutils.cmake @@ -71,12 +71,12 @@ mark_as_advanced(binutils_CONFIG_FLAGS) string(REPLACE " " ";" _binutils_CONFIG_FLAGS "${binutils_CONFIG_FLAGS}") # List of URLS (includes mirrors) to download binutils from. -set(TIMEMORY_BINUTILS_DOWNLOAD_URL +set(BINUTILS_DOWNLOAD_URL "" CACHE STRING "URLs for binutils download") # Add defualt URLs to download binutils from. -list(APPEND TIMEMORY_BINUTILS_DOWNLOAD_URL +list(APPEND BINUTILS_DOWNLOAD_URL "http://ftpmirror.gnu.org/gnu/binutils/binutils-2.40.tar.gz" "http://mirrors.kernel.org/sourceware/binutils/releases/binutils-2.40.tar.gz") @@ -84,7 +84,7 @@ include(ExternalProject) externalproject_add( binutils-external PREFIX ${PROJECT_BINARY_DIR}/external/binutils - URL ${TIMEMORY_BINUTILS_DOWNLOAD_URL} + URL ${BINUTILS_DOWNLOAD_URL} BUILD_IN_SOURCE 1 CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env CC=${CMAKE_C_COMPILER} CFLAGS=-fPIC\ -O3