-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
badaix
committed
Jul 11, 2016
1 parent
0f2c7e2
commit f316a9f
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
externals/build_flac_android.sh → externals/build_externals_android.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
export NDK_DIR="/home/johannes/Develop/android-toolchain-arm-14" | ||
export CC=$NDK_DIR/bin/arm-linux-androideabi-gcc | ||
export CXX=$NDK_DIR/bin/arm-linux-androideabi-g++ | ||
export CPPFLAGS="-U_ARM_ASSEM_ -I$NDK_DIR/include" | ||
|
||
cd flac | ||
./autogen.sh | ||
./configure --host=arm --disable-ogg --prefix=$NDK_DIR | ||
make | ||
make install | ||
make clean | ||
|
||
cd ../ogg | ||
./autogen.sh | ||
./configure --host=arm --prefix=$NDK_DIR | ||
make | ||
make install | ||
make clean | ||
|
||
cd ../tremor | ||
./autogen.sh | ||
./configure --host=arm --prefix=$NDK_DIR --with-ogg=$NDK_DIR | ||
make | ||
make install | ||
make clean | ||
|