qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Call cmp with "-s" instead of "--quiet"
@ 2016-06-11 17:15 Sean Bruno
  2016-06-11 20:42 ` Eric Blake
  2016-06-12 22:01 ` Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Sean Bruno @ 2016-06-11 17:15 UTC (permalink / raw)
  To: QEMU Developers; +Cc: famz, Paolo Bonzini

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



- --quiet isn't available on FreeBSD and doesn't seem to be used in
other places.  This fixes some non-fatal build errors on FreeBSD.  The
use of "-s" over "--quiet" seems to be the preferred use in the Makefile.

diff --git a/Makefile b/Makefile
index ed4032a..a7a356a 100644
- --- a/Makefile
+++ b/Makefile
@@ -185,7 +185,7 @@ qemu-version.h: FORCE
                                printf '""\n'; \
                        fi; \
                fi) > $@.tmp)
- -       $(call quiet-command, cmp --quiet $@ $@.tmp || mv $@.tmp $@)
+       $(call quiet-command, cmp -s $@ $@.tmp || mv $@.tmp $@)

 config-host.h: config-host.h-timestamp
 config-host.h-timestamp: config-host.mak
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJXXEcgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kpWgIAI/ZzRYWUWNYXF9D8NuvPlub
Arh2F7qBBvukaMra5fVQwJcNji82WdEHmClsV5782rPM19LC7QVqiiga494WFbQ2
mGWVJF0w9w0dA0lCz65mlWwqX0U/u0No8Z/RMoBtublTvbHtLfy/OUAMJrV940X2
EbPu0x/0vBlUCfgf2KUNcs6O6lt9AUJFvrSzeTJgLNHml7hchyHVMQujMv/2YggH
4TscRWswBcmikP8Rorxf59mBQx/om2n3omgnWxlAuvrgqm0ief42pYYkyIqTaPr0
C1dubmrV8ArcMWlGStUAhV2W1ibsph3ZSgoUuHqkpv5iz5BFizIqS+EvWfo1OBM=
=x1ai
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-12 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-11 17:15 [Qemu-devel] [PATCH] Call cmp with "-s" instead of "--quiet" Sean Bruno
2016-06-11 20:42 ` Eric Blake
2016-06-12 22:01 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).