From 63503a3fc758c6e2f595f0c7d6bf9b8c50fce4af Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Thu, 22 Jul 2010 12:57:48 +0000 Subject: [PATCH] Add ARM_LINK_FLAGS when build d8 with arch=arm to make cross-compiling d8 easier. Review URL: http://codereview.chromium.org/3062002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- SConstruct | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 53d845c..c7543d9 100644 --- a/SConstruct +++ b/SConstruct @@ -43,7 +43,7 @@ if ANDROID_TOP is None: ANDROID_TOP="" # ARM_TARGET_LIB is the path to the dynamic library to use on the target -# machine if cross-compiling to an arm machine. You will also need to set +# machine if cross-compiling to an arm machine. You will also need to set # the additional cross-compiling environment variables to the cross compiler. ARM_TARGET_LIB = os.environ.get('ARM_TARGET_LIB') if ARM_TARGET_LIB: @@ -629,6 +629,9 @@ D8_FLAGS = { 'os:win32': { 'LIBS': ['winmm', 'ws2_32'], }, + 'arch:arm': { + 'LINKFLAGS': ARM_LINK_FLAGS + }, }, 'msvc': { 'all': { -- 2.7.4