diff options
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/build.gradle')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/build.gradle | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/build.gradle b/platform/android/MapboxGLAndroidSDK/build.gradle index e38d61923f..e6f4cab847 100644 --- a/platform/android/MapboxGLAndroidSDK/build.gradle +++ b/platform/android/MapboxGLAndroidSDK/build.gradle @@ -81,12 +81,11 @@ android { // Enable ccache if the user has installed it. if (ccache?.trim()) { arguments "-DANDROID_CCACHE=" + ccache - // ccache splits up the compile command until multiple invocations and uses -E - // with one of them, and clang doesn't like unused arguments in that case. - cFlags "-Qunused-arguments" - cppFlags "-Qunused-arguments" } + cFlags "-Qunused-arguments" + cppFlags "-Qunused-arguments" + targets "mapbox-gl" if (defaultPublishConfig.equalsIgnoreCase("debug")) { |