| ... | @@ -581,15 +581,8 @@ static const char *build_musl(CodeGen *parent) { | ... | @@ -581,15 +581,8 @@ static const char *build_musl(CodeGen *parent) { |
| 581 | CFile *c_file = allocate<CFile>(1); | 581 | CFile *c_file = allocate<CFile>(1); |
| 582 | c_file->source_path = buf_ptr(full_path); | 582 | c_file->source_path = buf_ptr(full_path); |
| 583 | musl_add_cc_args(parent, c_file); | 583 | musl_add_cc_args(parent, c_file); |
| 584 | c_file->args.append("-Wno-ignored-attributes"); | | |
| 585 | c_file->args.append("-Wno-bitwise-op-parentheses"); | | |
| 586 | c_file->args.append("-Wno-logical-op-parentheses"); | | |
| 587 | c_file->args.append("-Wno-dangling-else"); | | |
| 588 | c_file->args.append("-Wno-shift-op-parentheses"); | | |
| 589 | c_file->args.append("-Qunused-arguments"); | 584 | c_file->args.append("-Qunused-arguments"); |
| 590 | c_file->args.append("-Wno-unknown-pragmas"); | 585 | c_file->args.append("-w"); // disable all warnings |
| 591 | c_file->args.append("-Wno-string-plus-int"); | | |
| 592 | c_file->args.append("-Wno-parentheses"); | | |
| 593 | if (src_kind == MuslSrcO3) { | 586 | if (src_kind == MuslSrcO3) { |
| 594 | c_file->args.append("-O3"); | 587 | c_file->args.append("-O3"); |
| 595 | } | 588 | } |