quakeforge/tools/cross/droid/cross-make.sh
Bill Currie f5eec3d930 Set all android envvars for make as well as configure.
Running make might trigger a reconfig, so the vars are always necessary.
2012-02-05 20:52:38 +09:00

9 lines
259 B
Bash
Executable file

#!/bin/sh -x
HOST_CC=gcc
export HOST_CC
export ANDROID_NDK_ROOT=/home/bill/Downloads/android-ndk-r7
export ANDROID_SYSROOT=$ANDROID_NDK_ROOT/android-14-toolchain/sysroot
export PATH=$ANDROID_NDK_ROOT/android-14-toolchain/bin:$PATH
make PAK=pak QFCC=qfcc $*