Some versions of gcc seem to silently accept an attempt to disable an unrecognised warning (e.g. via -Wno-stringop-truncation) but will then report the unrecognised warning if any other error occurs during the build, resulting in a potentially misleading error message. Avoid this potential confusion by using the positive-form tests in order to determine the workaround CFLAGS. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 174 |
|
174 |
|
| 175 |
|
175 |
|
| 176 |
|
176 |
|
| 177 |
|
|
|
|
177 |
|
|
| 178 |
|
178 |
|
| 179 |
|
179 |
|
| 180 |
|
180 |
|
| 181 |
|
181 |
|
| 182 |
|
182 |
|
| 183 |
|
183 |
|
| 184 |
|
|
|
|
184 |
|
|
| 185 |
|
185 |
|
| 186 |
|
186 |
|
| 187 |
|
187 |
|