projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c789d9
)
libbpf-tool: don't ignore LDFLAGS
author
Jerome Marchand
<jmarchan@redhat.com>
Wed, 2 Jun 2021 12:23:20 +0000
(14:23 +0200)
committer
yonghong-song
<ys114321@gmail.com>
Thu, 3 Jun 2021 19:21:45 +0000
(12:21 -0700)
Packagers need to be able set linker options according to their
distribution guidelines.
libbpf-tools/Makefile
patch
|
blob
|
history
diff --git
a/libbpf-tools/Makefile
b/libbpf-tools/Makefile
index edf4852f1827a212d04b99ba49ca40637f1b9bf7..fae9aa34e43dcca1f457f5aa7ba11a4af91c1f2b 100644
(file)
--- a/
libbpf-tools/Makefile
+++ b/
libbpf-tools/Makefile
@@
-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