2 # Copyright
(C
) 2005, Advanced Micro Devices
, Inc. All Rights Reserved
3 # Released under the MIT license
(see packages
/COPYING
)
4 DESCRIPTION
= "V8 is Google's open source JavaScript engine."
5 HOMEPAGE
= "http://code.google.com/p/v8/"
11 PV
= "0.0+svnr${SRCPV}"
14 SRC_URI
= "svn://v8.googlecode.com/svn/;module=trunk;proto=http;rev=${SRCREV} \
15 file://SConstruct.patch \
16 file://0004-add-the-install-target.patch \
19 S
= "${WORKDIR}/trunk"
21 export V8_TARGET_ARCH_ARM
= "\
29 -fno-inline-functions-called-once \
31 -frerun-cse-after-loop \
33 -fomit-frame-pointer \
34 -fno-strict-aliasing \
42 export LINKFLAGS
= "${LDFLAGS}"
44 SCONS_EXTRA_COMPILE_ARGS
= "\
46 importenv=PATH,LINKFLAGS,V8_TARGET_ARCH_ARM \
52 SCONS_EXTRA_INSTALL_ARGS
= "${SCONS_EXTRA_COMPILE_ARGS}"