0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/mruby/tasks-toolchains-android.rake.patch
Kevin Williams 5fbd1b28f2 upgpkg(main/mruby): 3.3.0
Signed-off-by: Kevin Williams <admin@utermux.dev>
2024-02-21 18:51:39 +08:00

21 lines
812 B
Diff

--- a/tasks/toolchains/android.rake
+++ b/tasks/toolchains/android.rake
@@ -158,7 +158,7 @@
v = sdk_version
case toolchain
- when :clang
+ when :nil
case arch
when /armeabi-v7a/ then flags += %W(-target armv7a-linux-androideabi#{v} -mfpu=#{armeabi_v7a_mfpu} -mfloat-abi=#{armeabi_v7a_mfloat_abi})
when /arm64-v8a/ then flags += %W(-target aarch64-linux-android#{v})
@@ -198,7 +198,7 @@
v = sdk_version
case toolchain
when :clang
- case arch
+ case nil
when /armeabi-v7a/ then flags += %W(-target armv7-none-linux-androideabi#{v} -Wl,--fix-cortex-a8#{no_warn_mismatch})
when /arm64-v8a/ then flags += %W(-target aarch64-none-linux-android#{v})
when /x86_64/ then flags += %W(-target x86_64-none-linux-android#{v})