Commit 54b7be4
bpftool: Conditionally add -Wformat-signedness flag
clang-18.1.3 on Ubuntu 24.04.2 reports warning:
warning: unknown warning option '-Wformat-signedness' [-Wunknown-warning-option]
Conditionally add the option only when it is supported by compiler.
Signed-off-by: Leo Yan <[email protected]>1 parent d9fd2c0 commit 54b7be4
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
67 | 77 | | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
71 | | - | |
| 81 | + | |
72 | 82 | | |
73 | 83 | | |
74 | 84 | | |
| |||
0 commit comments