diff options
author | David 'Digit' Turner <digit@android.com> | 2011-02-09 16:01:53 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-02-09 16:07:39 +0100 |
commit | ba313e080f0be3061b458075e8e66fc5ff700e3c (patch) | |
tree | d48e79485c37ce4d526f0f810d1f1d614b50be24 /android-configure.sh | |
parent | c6375cb970388a3d4f691350fecdfd528eb334df (diff) | |
download | external_qemu-ba313e080f0be3061b458075e8e66fc5ff700e3c.zip external_qemu-ba313e080f0be3061b458075e8e66fc5ff700e3c.tar.gz external_qemu-ba313e080f0be3061b458075e8e66fc5ff700e3c.tar.bz2 |
android-configure.sh: Fix --cc=<compiler> option.
+ Fix LOCAL_GENERATED_SOURCES handling
+ Fix missing library dependencies for executables
+ Move generated library files to objs/libs/ (instead of objs/)
Change-Id: If3ebaa7ae856efa9bd3ff9e2c199389989db7f71
Diffstat (limited to 'android-configure.sh')
-rwxr-xr-x | android-configure.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android-configure.sh b/android-configure.sh index a36ece7..02e4d99 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -110,6 +110,12 @@ if [ -z "$CC" -a -z "$OPTION_CC" -a "$HOST_OS" = linux -a "$OPTION_TRY_64" != "y fi fi +echo "OPTION_CC='$OPTION_CC'" +if [ -n "$OPTION_CC" ]; then + echo "Using specified C compiler: $OPTION_CC" + CC="$OPTION_CC" +fi + # we only support generating 32-bit binaris on 64-bit systems. # And we may need to add a -Wa,--32 to CFLAGS to let the assembler # generate 32-bit binaries on Linux x86_64. |