diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-01-22 16:34:05 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2019-01-22 17:15:11 +0100 |
commit | c7869e7eb494ab98b9434254f414f633e30e2a5c (patch) | |
tree | 8898a105d2be021371f6a42835e9c8f81dec29bb | |
parent | 2639d3b31db2313e525b137b48072935671ab136 (diff) | |
download | qtlocation-mapboxgl-c7869e7eb494ab98b9434254f414f633e30e2a5c.tar.gz |
[android] - ignore unused arguments for all configurations
-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")) { |