mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-24 18:29:06 +08:00
remove internal reallocarray()
... as it's covered by libbpf_reallocarray() since commit dc70da9c70.
This commit is contained in:
committed by
Andrii Nakryiko
parent
ff797cc905
commit
5a10cd2060
@@ -10,11 +10,6 @@ TOPDIR = ..
|
||||
INCLUDES := -I. -I$(TOPDIR)/include -I$(TOPDIR)/include/uapi
|
||||
ALL_CFLAGS := $(INCLUDES)
|
||||
|
||||
FEATURE_REALLOCARRAY := $(shell $(TOPDIR)/scripts/check-reallocarray.sh $(CC))
|
||||
ifneq ($(FEATURE_REALLOCARRAY),)
|
||||
ALL_CFLAGS += -DCOMPAT_NEED_REALLOCARRAY
|
||||
endif
|
||||
|
||||
SHARED_CFLAGS += -fPIC -fvisibility=hidden -DSHARED
|
||||
|
||||
CFLAGS ?= -g -O2 -Werror -Wall
|
||||
|
||||
Reference in New Issue
Block a user