File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ make amalg -j \
2929 CC=" $CC " \
3030 TARGET_AR=" $AR rcus" \
3131 TARGET_STRIP=" $STRIP " \
32- TARGET_FLAGS=" $CFLAGS_NO_FAST -Wno-undef-prefix -fPIC " \
32+ TARGET_FLAGS=" $CFLAGS_NO_FAST -Wno-undef-prefix" \
3333 BUILDMODE=static
3434
3535# update `src` folder
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ case "$ARCH" in
4141esac
4242
4343export API=23
44- export CFLAGS=" -Ofast -D__ANDROID_MIN_SDK_VERSION__=$API "
45- export CFLAGS_NO_FAST=" -O3 -D__ANDROID_MIN_SDK_VERSION__=$API "
44+ export CFLAGS=" -Ofast -flto -fPIC - D__ANDROID_MIN_SDK_VERSION__=$API "
45+ export CFLAGS_NO_FAST=" -O3 -fPIC - D__ANDROID_MIN_SDK_VERSION__=$API "
4646export CXXFLAGS=" $CFLAGS -fexceptions -frtti"
4747export NATIVE_API_LEVEL=" android-$API "
4848
You can’t perform that action at this time.
0 commit comments