Description: Use clang from PATH
Author: Simon Richter <sjr@debian.org>
Last-Update: 2013-04-02

Index: beignet-0.1/backend/src/backend/program.cpp
===================================================================
--- beignet-0.1.orig/backend/src/backend/program.cpp	2013-05-14 19:58:54.482049709 +0200
+++ beignet-0.1/backend/src/backend/program.cpp	2013-05-14 19:59:15.766048760 +0200
@@ -119,9 +119,9 @@
 
     // Now compile the code to llvm using clang
 #if LLVM_VERSION_MINOR <= 1
-    std::string compileCmd = LLVM_PREFIX "/bin/clang -x cl -fno-color-diagnostics -emit-llvm -O3 -ccc-host-triple ptx32 -c ";
+    std::string compileCmd = "clang -x cl -fno-color-diagnostics -emit-llvm -O3 -ccc-host-triple ptx32 -c ";
 #else
-    std::string compileCmd = LLVM_PREFIX "/bin/clang -ffp-contract=off -emit-llvm -O3 -target nvptx -x cl -c ";
+    std::string compileCmd = "clang -ffp-contract=off -emit-llvm -O3 -target nvptx -x cl -c ";
 #endif /* LLVM_VERSION_MINOR <= 1 */
     compileCmd += clName;
     compileCmd += " ";
