mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
00cbf6f6ab
Signed-off-by: Felix Fietkau <nbd@nbd.name>
11 lines
319 B
Diff
11 lines
319 B
Diff
--- a/libbpf/src/Makefile
|
|
+++ b/libbpf/src/Makefile
|
|
@@ -25,6 +25,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
|
|
ALL_LDFLAGS += $(LDFLAGS)
|