summaryrefslogtreecommitdiff
path: root/app-admin/bpftune/files/bpftune-0.4_p2-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/bpftune/files/bpftune-0.4_p2-cflags.patch')
-rw-r--r--app-admin/bpftune/files/bpftune-0.4_p2-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/bpftune/files/bpftune-0.4_p2-cflags.patch b/app-admin/bpftune/files/bpftune-0.4_p2-cflags.patch
new file mode 100644
index 000000000000..decbc7fb115e
--- /dev/null
+++ b/app-admin/bpftune/files/bpftune-0.4_p2-cflags.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile b/src/Makefile
+index b42f945..c703321 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -57,7 +57,7 @@ endif
+ VERSION = 0.4.2
+ VERSION_SCRIPT := libbpftune.map
+
+-CFLAGS = -fPIC -Wall -Wextra -g -I../include -std=c99
++CFLAGS += -fPIC -Wall -Wextra -g -I../include -std=c99
+
+ CFLAGS += -DBPFTUNE_VERSION='"$(BPFTUNE_VERSION)"' \
+ -DBPFTUNER_PREFIX_DIR='"$(prefix)"' \