build: move GLOBAL_HOST_RUSTFLAGS to kernel build system am: 750734867c

Original change: https://android-review.googlesource.com/c/trusty/lk/trusty/+/2928630

Change-Id: Ic68cfedbc34a77835bcb1ec584e380e120d6d1e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/app/trusty/user-tasks.mk b/app/trusty/user-tasks.mk
index 5928935..33238a7 100644
--- a/app/trusty/user-tasks.mk
+++ b/app/trusty/user-tasks.mk
@@ -89,7 +89,6 @@
 TRUSTY_SDK_LICENSE_DIR := $(TRUSTY_SDK_DIR)/licenses
 TRUSTY_SDK_LICENSE := $(TRUSTY_SDK_DIR)/LICENSE
 TRUSTY_LIBRARY_BUILDDIR := $(BUILDDIR)/lib
-TRUSTY_HOST_LIBRARY_BUILDDIR := $(BUILDDIR)/host_lib
 
 # The license file construction assumes that all projects will contain the same
 # set of SDK modules and thus the same set of respective license files. If this
@@ -146,7 +145,6 @@
 $(patsubst lib%,%,$(notdir $(1)))
 endef
 
-GLOBAL_HOST_RUSTFLAGS += -L $(RUST_HOST_LIBDIR) -L dependency=$(TRUSTY_HOST_LIBRARY_BUILDDIR)
 GLOBAL_USER_RUSTFLAGS += -L dependency=$(TRUSTY_LIBRARY_BUILDDIR)
 
 # We need the host library dir to pick up recursive dependencies that are proc