Added patch from f-droid repo. (Christian Plattner)

This commit is contained in:
Armin Novak 2018-04-12 16:49:18 +02:00
parent 81ea42098f
commit 887e94c588
1 changed files with 4 additions and 0 deletions

View File

@ -1369,6 +1369,10 @@ if( ANDROID_COMPILER_IS_CLANG )
if( BUILD_WITH_ANDROID_NDK )
set( ANDROID_CXX_FLAGS "-gcc-toolchain ${ANDROID_TOOLCHAIN_ROOT} ${ANDROID_CXX_FLAGS}" )
endif()
else()
if( BUILD_WITH_ANDROID_NDK )
set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} --sysroot=${ANDROID_SYSROOT}" )
endif()
endif()
# cache flags