libbpf-tool: don't ignore LDFLAGS
Packagers need to be able set linker options according to their
distribution guidelines.
@@ -80,7 +80,7 @@ $(OUTPUT) $(OUTPUT)/libbpf:
$(APPS): %: $(OUTPUT)/%.o $(LIBBPF_OBJ) $(COMMON_OBJ) | $(OUTPUT)
$(call msg,BINARY,$@)
- $(Q)$(CC) $(CFLAGS) $^ -lelf -lz -o $@
+ $(Q)$(CC) $(CFLAGS) $^ $(LDFLAGS) -lelf -lz -o $@
$(patsubst %,$(OUTPUT)/%.o,$(APPS)): %.o: %.skel.h
