summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/bcc/files/bcc-0.25.0-cmakelists.patch')
-rw-r--r--dev-util/bcc/files/bcc-0.25.0-cmakelists.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/bcc/files/bcc-0.25.0-cmakelists.patch b/dev-util/bcc/files/bcc-0.25.0-cmakelists.patch
new file mode 100644
index 000000000000..dc66bafd9e50
--- /dev/null
+++ b/dev-util/bcc/files/bcc-0.25.0-cmakelists.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4a32768f..c938652a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,10 +17,6 @@ if(CMAKE_SANITIZE_TYPE)
+ endif()
+
+
+-if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+- set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "path to install" FORCE)
+-endif()
+-
+ enable_testing()
+
+ # populate submodules (libbpf)