| 372 | === Error configure-android with "--use-ndk-cflags" using android-ndk-r13 or later === #err_ndkr13 |
| 373 | |
| 374 | Release notes to !r13 stated that NDK_TOOLCHAIN_VERSION now defaults to Clang, resulting error on configure-android which expects gcc: |
| 375 | {{{ |
| 376 | configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc) |
| 377 | }}} |
| 378 | |
| 379 | As a workaround, you can specify NDK_TOOLCHAIN_VERSION (to 4.9) to use gcc. |
| 380 | {{{ |
| 381 | NDK_TOOLCHAIN_VERSION=4.9 TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags |
| 382 | }}} |
| 383 | |