File: use-nostdlib.diff

package info (click to toggle)
libclc 0.2.0%2Bgit20190827-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,492 kB
  • sloc: lisp: 13,323; ansic: 2,435; python: 640; cpp: 93; sh: 29; makefile: 10; pascal: 7
file content (12 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/configure.py b/configure.py
index dab5dc9..5a87d68 100755
--- a/configure.py
+++ b/configure.py
@@ -207,6 +207,7 @@ for target in targets:
     # The rule for building a .bc file for the specified architecture using clang.
     clang_bc_flags = "-target %s -I`dirname $in` %s " \
                      "-fno-builtin " \
+                     "-nostdlib " \
                      "-D__CLC_INTERNAL " \
                      "-emit-llvm" % (target, clang_cl_includes)
     if device['gpu'] != '':