llvm/set-revision.patch
Ismail Dönmez b077f75c78 Accepting request 390724 from devel:ARM:Factory
- fix arm_suse_support.diff for armv6hl
- adjust compile flags for llvm on armv6hl (fixes Mesa build)

OBS-URL: https://build.opensuse.org/request/show/390724
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=451
2016-04-20 06:47:36 +00:00

25 lines
533 B
Diff

Index: cfe-3.8.0.src/lib/Basic/Version.cpp
===================================================================
--- cfe-3.8.0.src/lib/Basic/Version.cpp.orig
+++ cfe-3.8.0.src/lib/Basic/Version.cpp
@@ -72,19 +72,11 @@ std::string getLLVMRepositoryPath() {
}
std::string getClangRevision() {
-#ifdef SVN_REVISION
return SVN_REVISION;
-#else
- return "";
-#endif
}
std::string getLLVMRevision() {
-#ifdef LLVM_REVISION
return LLVM_REVISION;
-#else
- return "";
-#endif
}
std::string getClangFullRepositoryVersion() {