mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
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)
|