Browse Source

Workaround Harfbuzz compile error.

Miku AuahDark 2 years ago
parent
commit
26a45e4372
1 changed files with 5 additions and 4 deletions
  1. 5 4
      app/build.gradle

+ 5 - 4
app/build.gradle

@@ -19,11 +19,12 @@ android {
         externalNativeBuild {
             cmake {
                 arguments "-DANDROID_STL=c++_shared"
-				// https://issuetracker.google.com/issues/274493986
+                cppFlags "-Wno-error=cast-function-type-strict"
+                // https://issuetracker.google.com/issues/274493986
                 // Transitive shared library that's added through `add_dependencies` is not taken into
-				// account. This result in liboboe.so and libluajit.so not get included into the final
-				// APK. "love" target depends on LuaJIT, and OpenAL that depends on oboe::oboe. So,
-				// add "OpenAL" and "love" target.
+                // account. This result in liboboe.so and libluajit.so not get included into the final
+                // APK. "love" target depends on LuaJIT, and OpenAL that depends on oboe::oboe. So,
+                // add "OpenAL" and "love" target.
                 targets "love_android", "OpenAL", "love"
             }
         }