mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 12:09:50 +00:00
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
|
diff --git a/src/llvm/CMakeLists.txt b/src/llvm/CMakeLists.txt
|
||
|
index ab92717c8..dff3a292a 100644
|
||
|
--- a/src/llvm/CMakeLists.txt
|
||
|
+++ b/src/llvm/CMakeLists.txt
|
||
|
@@ -754,7 +754,6 @@ set(LLVM_SRPM_DIR "${CMAKE_CURRENT_BINARY_DIR}/srpm")
|
||
|
|
||
|
# SVN_REVISION and GIT_COMMIT get set by the call to add_version_info_from_vcs.
|
||
|
# DUMMY_VAR contains a version string which we don't care about.
|
||
|
-add_version_info_from_vcs(DUMMY_VAR)
|
||
|
if ( SVN_REVISION )
|
||
|
set(LLVM_RPM_SPEC_REVISION "r${SVN_REVISION}")
|
||
|
elseif ( GIT_COMMIT )
|
||
|
diff --git a/src/llvm/cmake/modules/GenerateVersionFromCVS.cmake b/src/llvm/cmake/modules/GenerateVersionFromCVS.cmake
|
||
|
index 6b1c71983..e16326ed6 100644
|
||
|
--- a/src/llvm/cmake/modules/GenerateVersionFromCVS.cmake
|
||
|
+++ b/src/llvm/cmake/modules/GenerateVersionFromCVS.cmake
|
||
|
@@ -24,7 +24,7 @@ include(VersionFromVCS)
|
||
|
set(ENV{TERM} "dumb")
|
||
|
|
||
|
function(append_info name path)
|
||
|
- add_version_info_from_vcs(REVISION ${path})
|
||
|
+ set(REVISION "git-0000000")
|
||
|
string(STRIP "${REVISION}" REVISION)
|
||
|
file(APPEND "${HEADER_FILE}.txt"
|
||
|
"#define ${name} \"${REVISION}\"\n")
|