Skip to content

Commit a6738a9

Browse files
voltur01simpal01
authored andcommitted
Fix newlib-nano VERSION.TXT git commit (arm#203)
Fix newlib-nano VERSION.TXT git commit by using base_library variable consistently. (cherry picked from commit 5928281)
1 parent 463d59d commit a6738a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arm-software/embedded/cmake/generate_version_txt.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if(NOT (LLVM_TOOLCHAIN_C_LIBRARY STREQUAL llvmlibc)) # libc in a separate repo?
2626

2727
execute_process(
2828
COMMAND git -C ${${base_library}_SOURCE_DIR} rev-parse HEAD
29-
OUTPUT_VARIABLE ${LLVM_TOOLCHAIN_C_LIBRARY}_COMMIT
29+
OUTPUT_VARIABLE ${base_library}_COMMIT
3030
OUTPUT_STRIP_TRAILING_WHITESPACE
3131
COMMAND_ERROR_IS_FATAL ANY
3232
)

0 commit comments

Comments
 (0)