diff --git a/src/Makefile b/src/Makefile index fab4c6f..51b52e8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -63,7 +63,7 @@ $(OBJDIR)/libbpf.pc: < libbpf.pc.template > $@ $(OBJDIR)/%.o: %.c - $(CC) $(ALL_CFLAGS) -c $< -o $@ + $(CC) $(ALL_CFLAGS) $(CPPFLAGS) -c $< -o $@ define do_install if [ ! -d '$(DESTDIR)$2' ]; then \