2022-02-28 10:42:39 +01:00
|
|
|
--- a/Configurations/15-android.conf
|
|
|
|
+++ b/Configurations/15-android.conf
|
|
|
|
@@ -184,14 +184,14 @@
|
2018-08-17 23:43:56 +02:00
|
|
|
# systems are perfectly capable of executing binaries targeting
|
|
|
|
# Froyo. Keep in mind that in the nutshell Android builds are
|
|
|
|
# about JNI, i.e. shared libraries, not applications.
|
|
|
|
- cflags => add(sub { android_ndk()->{cflags} }),
|
|
|
|
- cppflags => add(sub { android_ndk()->{cppflags} }),
|
|
|
|
- cxxflags => add(sub { android_ndk()->{cflags} }),
|
|
|
|
- bn_ops => sub { android_ndk()->{bn_ops} },
|
|
|
|
+ #cflags => add(sub { android_ndk()->{cflags} }),
|
|
|
|
+ #cppflags => add(sub { android_ndk()->{cppflags} }),
|
|
|
|
+ #cxxflags => add(sub { android_ndk()->{cflags} }),
|
|
|
|
+ #bn_ops => sub { android_ndk()->{bn_ops} },
|
2022-01-22 15:30:36 +01:00
|
|
|
bin_cflags => "-fPIE",
|
|
|
|
bin_lflags => "-pie",
|
2018-08-17 23:43:56 +02:00
|
|
|
enable => [ ],
|
2022-02-28 10:42:39 +01:00
|
|
|
- shared_extension => ".so",
|
|
|
|
+ shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
|
|
|
|
},
|
|
|
|
"android-arm" => {
|
|
|
|
################################################################
|
2022-01-22 15:30:36 +01:00
|
|
|
@@ -222,13 +222,13 @@
|
2018-08-22 11:53:11 +02:00
|
|
|
# Newer NDK versions reportedly require additional -latomic.
|
|
|
|
#
|
2022-01-22 15:30:36 +01:00
|
|
|
inherit_from => [ "android" ],
|
2018-08-22 11:53:11 +02:00
|
|
|
- bn_ops => add("RC4_CHAR"),
|
2018-09-14 22:16:09 +02:00
|
|
|
+ bn_ops => "BN_LLONG RC4_CHAR",
|
2022-01-22 15:30:36 +01:00
|
|
|
asm_arch => 'armv4',
|
|
|
|
perlasm_scheme => "void",
|
2018-08-22 11:53:11 +02:00
|
|
|
},
|
|
|
|
"android-arm64" => {
|
2022-01-22 15:30:36 +01:00
|
|
|
inherit_from => [ "android" ],
|
2018-08-22 11:53:11 +02:00
|
|
|
- bn_ops => add("RC4_CHAR"),
|
2018-09-14 22:16:09 +02:00
|
|
|
+ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
|
2022-01-22 15:30:36 +01:00
|
|
|
asm_arch => 'aarch64',
|
2018-08-22 11:53:11 +02:00
|
|
|
perlasm_scheme => "linux64",
|
|
|
|
},
|
2022-03-16 03:20:45 +01:00
|
|
|
@@ -258,14 +258,14 @@
|
2018-08-22 11:53:11 +02:00
|
|
|
"android-x86" => {
|
2022-01-22 15:30:36 +01:00
|
|
|
inherit_from => [ "android" ],
|
2018-08-22 11:53:11 +02:00
|
|
|
CFLAGS => add(picker(release => "-fomit-frame-pointer")),
|
|
|
|
- bn_ops => add("RC4_INT"),
|
2018-09-14 22:16:09 +02:00
|
|
|
+ bn_ops => "BN_LLONG RC4_INT",
|
2022-01-22 15:30:36 +01:00
|
|
|
asm_arch => 'x86',
|
2018-08-22 11:53:11 +02:00
|
|
|
perlasm_scheme => "android",
|
2022-03-16 03:20:45 +01:00
|
|
|
ex_libs => add(threads("-latomic")),
|
2018-08-22 11:53:11 +02:00
|
|
|
},
|
|
|
|
"android-x86_64" => {
|
2022-01-22 15:30:36 +01:00
|
|
|
inherit_from => [ "android" ],
|
2018-08-22 11:53:11 +02:00
|
|
|
- bn_ops => add("RC4_INT"),
|
2018-09-14 22:16:09 +02:00
|
|
|
+ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_INT",
|
2022-01-22 15:30:36 +01:00
|
|
|
asm_arch => 'x86_64',
|
2018-08-22 11:53:11 +02:00
|
|
|
perlasm_scheme => "elf",
|
|
|
|
},
|