Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Renamed TIMEMORY_BINUTILS_DOWNLOAD_URL to BINUTILS_DOWNLOAD_URL.
Browse files Browse the repository at this point in the history
This change is part of the fix for SWDEV-471917.
  • Loading branch information
ajanicijamd committed Jul 19, 2024
1 parent 3337f8b commit 7903176
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/Modules/ConfigBinutils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,20 @@ 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")

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
Expand Down

0 comments on commit 7903176

Please sign in to comment.