Bug 802763: Set objcopy for gonk builds. r=ted DONTBUILD
authorChris AtLee <catlee@mozilla.com>
Thu, 18 Oct 2012 10:45:31 -0400
changeset 110742 28d5bb4008ec7d9c007ed4e8315fcc9758e2b0b9
parent 110741 cb573b9307e5f2c48a29973fd9ff69e6dcf8ef6c
child 110790 3779eb3f036fd4d1e5b7d56d4bc430cb209b6fd7
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersted
bugs802763
milestone19.0a1
Bug 802763: Set objcopy for gonk builds. r=ted DONTBUILD
configure.in
js/src/configure.in
--- a/configure.in
+++ b/configure.in
@@ -180,16 +180,17 @@ if test -n "$gonkdir" ; then
     AS="$gonk_toolchain_prefix"as
     CC="$gonk_toolchain_prefix"gcc
     CXX="$gonk_toolchain_prefix"g++
     CPP="$gonk_toolchain_prefix"cpp
     LD="$gonk_toolchain_prefix"ld
     AR="$gonk_toolchain_prefix"ar
     RANLIB="$gonk_toolchain_prefix"ranlib
     STRIP="$gonk_toolchain_prefix"strip
+    OBJCOPY="$gonk_toolchain_prefix"objcopy
 
     STLPORT_CPPFLAGS="-I$gonkdir/ndk/sources/cxx-stl/stlport/stlport/ -I$gonkdir/external/stlport/stlport/"
     STLPORT_LIBS="-lstlport"
 
     case "$target_cpu" in
     arm)
         ARCH_DIR=arch-arm
         ;;
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -162,16 +162,17 @@ if test -n "$gonkdir" ; then
     AS="$gonk_toolchain_prefix"as
     CC="$gonk_toolchain_prefix"gcc
     CXX="$gonk_toolchain_prefix"g++
     CPP="$gonk_toolchain_prefix"cpp
     LD="$gonk_toolchain_prefix"ld
     AR="$gonk_toolchain_prefix"ar
     RANLIB="$gonk_toolchain_prefix"ranlib
     STRIP="$gonk_toolchain_prefix"strip
+    OBJCOPY="$gonk_toolchain_prefix"objcopy
 
     STLPORT_CPPFLAGS="-I$gonkdir/external/stlport/stlport"
     STLPORT_LIBS="-lstlport"
 
     case "$target_cpu" in
     arm)
         ARCH_DIR=arch-arm
         ;;