build: simplify and fix fix-obj-vars
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 May 2014 13:02:48 +0000 (15:02 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 May 2014 20:59:40 +0000 (22:59 +0200)
commit2a8e6c7a85b65c1b8a8af3005d5e8868a73a5d8f
treef317b085547daf94d541e4b4e19138e5ef33ba6d
parent849d8284c5171dcfe61212019f8457d370e7a6bc
build: simplify and fix fix-obj-vars

fix-obj-vars has the undesired side effect of breaking -cflags
-objs and -libs variables in the toplevel Makefile.objs.  The
variables in the toplevel Makefile.objs do not need any fix,
so fix-obj-vars need not do anything.

Since we are touching it, remove the now unnecessary $(if)
in the callers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak