Skip to content

Commit

Permalink
Ensure that compiler environment is passed to gyp
Browse files Browse the repository at this point in the history
this only affects libuv
  • Loading branch information
mcoffin committed Sep 22, 2014
1 parent 3907a13 commit 650683f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mk/rt.mk
Expand Up @@ -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)) \
Expand Down

0 comments on commit 650683f

Please sign in to comment.