File: llc.patch

package info (click to toggle)
suricata 1%3A8.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240,704 kB
  • sloc: ansic: 357,736; python: 8,721; sh: 5,043; makefile: 2,411; perl: 570; php: 170
file content (20 lines) | stat: -rw-r--r-- 1,022 bytes parent folder | download | duplicates (2)
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
@@ -496,11 +496,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])