diff options
author | Petr Hosek <phosek@google.com> | 2023-10-27 07:29:28 +0000 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2023-10-27 07:31:19 +0000 |
commit | fb619b3c78b1b6a026b0fec9fccff4c515465803 (patch) | |
tree | e9dd4cb682ab8b86ed55a366f85fcb2cc708374a /llvm/runtimes | |
parent | 8e247b8f4734b1b829156794bb2d9bf8c9c0e72a (diff) | |
download | llvm-fb619b3c78b1b6a026b0fec9fccff4c515465803.zip llvm-fb619b3c78b1b6a026b0fec9fccff4c515465803.tar.gz llvm-fb619b3c78b1b6a026b0fec9fccff4c515465803.tar.bz2 |
[CMake] Address the issue introduced in #69869
While extracting the existing functionality into a function, one of the
variable usages wasn't correctly updated.
Diffstat (limited to 'llvm/runtimes')
-rw-r--r-- | llvm/runtimes/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt index 4ae2bf2..a464c6c 100644 --- a/llvm/runtimes/CMakeLists.txt +++ b/llvm/runtimes/CMakeLists.txt @@ -174,7 +174,7 @@ endif() function(_get_runtime_name name out_var) string(FIND ${name} "lib" idx) if(idx EQUAL 0 AND NOT ${name} STREQUAL "libc") - string(SUBSTRING ${name} 3 -1 entry) + string(SUBSTRING ${name} 3 -1 name) endif() set(${out_var} ${name} PARENT_SCOPE) endfunction() |