Commit d5e7400
committed
src/Makefile: suppress unused-but-set-variable warning for sg/syzkaller1.c
The volatile loop variable 'i' in sg/syzkaller1.c triggers a
-Wunused-but-set-variable warning on newer GCC (e.g. GCC 16 on ppc64le).
So add a specific Makefile rule for sg/syzkaller1 that appends
-Wno-unused-but-set-variable.
Fixes: #233
Suggested-by: Shin'ichiro Kawasaki <[email protected]>
Signed-off-by: Yi Zhang <[email protected]>1 parent 80d115e commit d5e7400
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| |||
0 commit comments