about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Coffin <mcoffin13@gmail.com>2014-09-22 12:31:53 -0600
committerMatt Coffin <mcoffin13@gmail.com>2014-09-22 12:34:00 -0600
commit650683f926d21b59ba7ad37e6b09130fa1a368c1 (patch)
treea081e30c7d3395b86867114656c6ef6334cfd81c
parent3907a13f697feb007ab4824ee26f998d56a1311f (diff)
Ensure that compiler environment is passed to gyp
this only affects libuv
-rw-r--r--mk/rt.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/rt.mk b/mk/rt.mk
index 63bfc4e1033..00e301f8fbf 100644
--- a/mk/rt.mk
+++ b/mk/rt.mk
@@ -203,6 +203,9 @@ LIBUV_CFLAGS_$(1) := $(subst -Werror,,$(CFG_GCCISH_CFLAGS_$(1)))
 
 $$(LIBUV_MAKEFILE_$(1)): $$(LIBUV_DEPS) $$(MKFILE_DEPS) $$(LIBUV_STAMP_$(1))
 	(cd $(S)src/libuv/ && \
+	CC="$$(CC_$(1))" \
+	CXX="$$(CXX_$(1))" \
+	AR="$$(AR_$(1))" \
 	 $$(CFG_PYTHON) ./gyp_uv.py -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1)) \
 	   -D ninja \
 	   -DOS=$$(LIBUV_OSTYPE_$(1)) \