blk-cgroup: avoid to warn !rcu_read_lock_held() in blkg_lookup()
[linux-block.git] / scripts / Makefile.host
index 8f7f842b54f9ee2fc2c30c6b0c037fc3cb70ad99..08d83d9db31a138420f075dd45630046a76d1180 100644 (file)
@@ -91,6 +91,8 @@ hostcxx_flags  = -Wp,-MMD,$(depfile) \
 # current working directory, which may be not accessible in the out-of-tree
 # modules case.
 hostrust_flags = --out-dir $(dir $@) --emit=dep-info=$(depfile) \
+                -Clinker-flavor=gcc -Clinker=$(HOSTCC) \
+                -Clink-args='$(call escsq,$(KBUILD_HOSTLDFLAGS))' \
                  $(KBUILD_HOSTRUSTFLAGS) $(HOST_EXTRARUSTFLAGS) \
                  $(HOSTRUSTFLAGS_$(target-stem))