summaryrefslogtreecommitdiffstats
path: root/debian/patches/llc.patch
blob: dc0bf38c250be672497dd9d397f02ad90a7e5077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/configure.ac
+++ b/configure.ac
@@ -473,11 +473,12 @@
           [
             AS_IF([test "$CLANG" != no],
                   [
-                    llc_candidates=$($CLANG --version | sed -e 's/.*clang version/clang version/' | \
-                      awk '/^clang version/ {
-                             split($3, v, ".");
-                             printf("llc-%s.%s llc-%s llc", v[[1]], v[[2]], v[[1]])
-                           }')
+                    #llc_candidates=$($CLANG --version | sed -e 's/.*clang version/clang version/' | \
+                    #  awk '/^clang version/ {
+                    #         split($3, v, ".");
+                    #         printf("llc-%s.%s llc-%s llc", v[[1]], v[[2]], v[[1]])
+                    #       }')
+		    llc_candidates=llc
                     AC_CHECK_PROGS([LLC], [$llc_candidates], "no")
                     if test "$LLC" = "no"; then
                         AC_MSG_ERROR([unable to find any of $llc_candidates needed to build ebpf files])