commit | 83d2c4133c4986367820a8c4c2219b40480cd36d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 26 03:04:07 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 26 03:04:07 2022 +0000 |
tree | df0a7d639b6f99b3b778245536d051415ab2c8c8 | |
parent | aa96f138c9a46c40c0a27cacbdbeeafbbb7c96a9 [diff] | |
parent | 9dba7f3586513f130cf48b52189f1bd9c786ba68 [diff] |
Snap for 8362632 from 9dba7f3586513f130cf48b52189f1bd9c786ba68 to tm-release Change-Id: Ie832b67c7a1538154f199d87512f6fb4a1f58155
Supports:
Use the following commands for building on the target machine
$ cd external/libavc $ mkdir build $ cd build $ cmake .. $ make
$ cd external/libavc $ mkdir build $ cd build $ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" cmake .. $ make
Update ‘CMAKE_C_COMPILER’, ‘CMAKE_CXX_COMPILER’, ‘CMAKE_C_COMPILER_AR’, and ‘CMAKE_CXX_COMPILER_AR’ in CMAKE_TOOLCHAIN_FILE passed below
$ cd external/libavc $ mkdir build $ cd build
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake $ make
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake $ make