File: system-clang.patch

package info (click to toggle)
libclc 0~git20140101-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,040 kB
  • ctags: 532
  • sloc: lisp: 863; ansic: 665; python: 578; cpp: 74; makefile: 22; pascal: 5; sh: 1
file content (22 lines) | stat: -rw-r--r-- 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: use system clang compiler
Author: Julian Wollrath <jwollrath@web.de>
Date: Tue, 7 Jan 2014 16:32:47 +0100

--- a/configure.py
+++ b/configure.py
@@ -73,13 +73,13 @@ llvm_core_libs = llvm_config(['--libs', 'core', 'bitreader', 'bitwriter']) + ' '
                  llvm_config(['--ldflags'])
 llvm_cxxflags = llvm_config(['--cxxflags']) + ' -fno-exceptions -fno-rtti'
 
-llvm_clang = os.path.join(llvm_bindir, 'clang')
+llvm_clang = 'clang'
 llvm_link = os.path.join(llvm_bindir, 'llvm-link')
 llvm_opt = os.path.join(llvm_bindir, 'opt')
 
 cxx_compiler = options.with_cxx_compiler
 if not cxx_compiler:
-  cxx_compiler = os.path.join(llvm_bindir, 'clang++')
+  cxx_compiler = 'clang++'
 
 available_targets = {
   'r600--' : { 'devices' :