diff --git a/mk/host.mk b/mk/host.mk index 0c00a7e1d6469..92c6ffbbe172f 100644 --- a/mk/host.mk +++ b/mk/host.mk @@ -130,8 +130,10 @@ $$(HLIB$(2)_H_$(4))/$(CFG_RUSTLLVM_$(4)): \ $$(HBIN$(2)_H_$(4))/: mkdir -p $$@ +ifneq ($(CFG_LIBDIR),bin) $$(HLIB$(2)_H_$(4))/: mkdir -p $$@ +endif endef diff --git a/mk/rt.mk b/mk/rt.mk index 30dda2fb276c9..ab91dca62182c 100644 --- a/mk/rt.mk +++ b/mk/rt.mk @@ -163,8 +163,6 @@ endif ifdef CFG_WINDOWSY_$(1) $$(LIBUV_LIB_$(1)): $$(LIBUV_DEPS) $$(Q)$$(MAKE) -C $$(S)src/libuv/ \ - CFLAGS="$$(CFG_GCCISH_CFLAGS)" \ - LDFLAGS="$$(CFG_GCCISH_LINK_FLAGS)" \ builddir_name="$$(CFG_BUILD_DIR)/rt/$(1)/libuv" \ OS=mingw \ V=$$(VERBOSE) diff --git a/mk/target.mk b/mk/target.mk index 2223531c3ec5e..3cecc3940e62f 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -86,8 +86,10 @@ endif $$(TBIN$(1)_T_$(2)_H_$(3))/: mkdir -p $$@ +ifneq ($(CFG_LIBDIR),bin) $$(TLIB$(1)_T_$(2)_H_$(3))/: mkdir -p $$@ +endif endef