[libclc] 120/291: Fix build since r202052

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit f5dec6f88e148331c27fff6d1a160f5f2e1e1f4c
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Feb 24 21:31:56 2014 +0000

    Fix build since r202052
    
    sys::fs_F_Binary has been replaced with sys::fs_F_Text
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@202081 91177308-0d34-0410-b5e6-96231b3b80d8
---
 utils/prepare-builtins.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp
index bf85644..2acf4ee 100644
--- a/utils/prepare-builtins.cpp
+++ b/utils/prepare-builtins.cpp
@@ -76,8 +76,10 @@ int main(int argc, char **argv) {
   std::string ErrorInfo;
   OwningPtr<tool_output_file> Out
   (new tool_output_file(OutputFilename.c_str(), ErrorInfo,
-#if LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR > 3)
+#if (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 4)
                         sys::fs::F_Binary));
+#elif LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 5)
+                        sys::fs::F_None));
 #else
                         raw_fd_ostream::F_Binary));
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list