diff options
| author | Rich Felker <dalias@aerifal.cx> | 2018-09-12 22:43:38 -0400 | 
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 22:43:38 -0400 | 
| commit | 7634101069db26b003adeec09c6aa14646363557 (patch) | |
| tree | 8e185ccbd99b5a40389d69dbba18d990015c4ee0 | |
| parent | 3e14bbcd1979376b188bfabb816ff828608fb5d7 (diff) | |
| download | musl-7634101069db26b003adeec09c6aa14646363557.tar.gz | |
configure: only try -Qunused-arguments for clang
other compilers don't need this option, but gcc 3 and perhaps others
accept it despite not understanding it, then print warnings about it
at build time.
omitting it when not needed will also help shorten the command lines.
| -rwxr-xr-x | configure | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -507,7 +507,7 @@ tryflag CFLAGS_AUTO -Werror=pointer-arith  # parameter to stop printing warnings about LDFLAGS passed during  # compiling stage and CFLAGS passed during linking stage.  # -tryflag CFLAGS_AUTO -Qunused-arguments +test "$cc_family" = clang && tryflag CFLAGS_AUTO -Qunused-arguments  if test "x$warnings" = xyes ; then  tryflag CFLAGS_AUTO -Wall | 
