aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libbpf/patches/001-cflags.patch
blob: 4c0e93a75bb826f25989e1677c3def96274baeee (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,6 +34,7 @@ ALL_CFLAGS := $(INCLUDES)
 
 SHARED_CFLAGS += -fPIC -fvisibility=hidden -DSHARED
 
+CFLAGS = $(EXTRA_CFLAGS)
 CFLAGS ?= -g -O2 -Werror -Wall -std=gnu89
 ALL_CFLAGS += $(CFLAGS) 						\
 	      -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64		\