Fix building of openssl on newer systems

Forcing CC when running make works around this problem.

Signed-off-by: Nathan Freitas <nathan@freitas.net>
This commit is contained in:
Daniel Martí 2014-03-25 19:44:54 +01:00 committed by Nathan Freitas
parent b5a043a6a0
commit 57ef1c3f61
1 changed files with 2 additions and 4 deletions

6
external/Makefile vendored
View File

@ -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