Reviewers: Jakob, rmcilroy, dusmil.imgtec,

Message:
PTAL.

Description:
Fix cross-compilation in Makefile.

Fix r22531, I dropped a necessary pair of parens.

BUG=

Please review this at https://codereview.chromium.org/410003003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M Makefile


Index: Makefile
diff --git a/Makefile b/Makefile
index 556a0f2337904dd14e9f83f01b001c14fe365afb..6977254e1c08e28ad89cafd956553759a87d7db2 100644
--- a/Makefile
+++ b/Makefile
@@ -401,7 +401,7 @@ OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
 $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
        $(eval CXX_TARGET_ARCH:=$(shell $(CXX) -v 2>&1 | grep ^Target: | \
                cut -f 2 -d " " | cut -f 1 -d "-" ))
-       $(eval CXX_TARGET_ARCH:=$(subst aarch64,arm64,$CXX_TARGET_ARCH))
+       $(eval CXX_TARGET_ARCH:=$(subst aarch64,arm64,$(CXX_TARGET_ARCH)))
        $(eval V8_TARGET_ARCH:=$(subst .,,$(suffix $(basename $@))))
PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
        GYP_GENERATORS=make \


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to