Merge change 8178 into donut

* changes:
  Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script