This is probably due to newer auto-tools having slightly different
configuration options. On a recent setup, the following occured:

make[2]: arm-eabi-/opt/android-ndk/[...]/arm-linux-androideabi-gcc: Command not 
found

It was, for some reason, making CC be arm-eabi- plus the path to the NDK.

Forcing CC when running make works around this problem.
---
 external/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/external/Makefile b/external/Makefile
index 875fa90..0310bb2 100644
--- a/external/Makefile
+++ b/external/Makefile
@@ -84,17 +84,15 @@ all: assets
 
 lib/libcrypto.a:
        cd openssl && \
-               CC="$(CC)" \
                ./Configure android -DL_ENDIAN && \
-               ANDROID_DEV=$(NDK_BASE)/platforms/android-8/arch-arm/usr make 
build_libs
+               make CC="$(CC)" 
ANDROID_DEV=$(NDK_BASE)/platforms/android-8/arch-arm/usr build_libs
 
 lib/libssl.a:
        cp config.sub openssl
        cp config.guess openssl
        cd openssl && \
-               CC="$(CC)"\
                ./Configure android -DL_ENDIAN && \
-               ANDROID_DEV=$(NDK_BASE)/platforms/android-8/arch-arm/usr make 
build_libs
+               make CC="$(CC)" 
ANDROID_DEV=$(NDK_BASE)/platforms/android-8/arch-arm/usr build_libs
 
 openssl-build-stamp: lib/libcrypto.a lib/libssl.a
        touch openssl-build-stamp

-- 
Daniel Martí - [email protected] - http://mvdan.cc/
PGP: A9DA 13CD F7A1 4ACD D3DE  E530 F4CA FFDB 4348 041C

Attachment: pgpnMk7UfDcWn.pgp
Description: PGP signature

_______________________________________________
tor-dev mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

Reply via email to