fix gcc warning

This commit is contained in:
vanhauser-thc
2021-10-24 19:53:07 +02:00
parent 0f49463ede
commit 0348ede4bc

View File

@ -1007,7 +1007,11 @@ static void edit_params(u32 argc, char **argv, char **envp) {
} }
// prevent unnecessary build errors // prevent unnecessary build errors
cc_params[cc_par_cnt++] = "-Wno-unused-command-line-argument"; if (compiler_mode != GCC_PLUGIN && compiler_mode != GCC) {
cc_params[cc_par_cnt++] = "-Wno-unused-command-line-argument";
}
if (preprocessor_only || have_c) { if (preprocessor_only || have_c) {