mirror of https://git.musl-libc.org/git/musl
Browse Source
some compilers (such as clang) accept unknown options without error, but then print warnings on each invocation, cluttering the build output and burying meaningful warnings. this patch makes configure's tryflag and tryldflag functions use additional options to turn the unknown-option warnings into errors, if available, but only at check time. these options are not output in config.mak to avoid the risk of spurious build breakage; if they work, they will have already done their job at configure time.master
committed by
Rich Felker
1 changed files with 12 additions and 2 deletions
Loading…
Reference in new issue