respect LDFLAGS settings

Libraries go into $LDLIBS while linker flags go into $LDFLAGS.

Also make sure the utility subdir respects the env $LDFLAGS so that
we can do things like `make LDFLAGS=-static` and get static binaries.

TEST=`emerge vboot_reference` still works
TEST=`emerge-arm-generic vboot_reference` still works

Change-Id: I989a21bc559bc6d471bc33c057c708bda2eda67e
Reviewed-by: Bill Richardson <>
Commit-Ready: Mike Frysinger <>
Tested-by: Mike Frysinger <>
2 files changed