Files
Astral/patches/openssl/jinx-working-patch.patch
T
2024-06-03 22:03:46 -03:00

41 lines
1.3 KiB
Diff

diff --git openssl-clean/Configurations/10-main.conf openssl-workdir/Configurations/10-main.conf
index 2a047ca..357fd04 100644
--- openssl-clean/Configurations/10-main.conf
+++ openssl-workdir/Configurations/10-main.conf
@@ -192,6 +192,35 @@ my %targets = (
thread_scheme => "(unknown)",
},
+#### Astral config
+ "astral-generic64" => {
+ inherit_from => [ "BASE_unix" ],
+ CFLAGS => picker(default => "-Wall",
+ debug => "-O0 -g",
+ release => "-O3"),
+ CXXFLAGS => picker(default => "-Wall",
+ debug => "-O0 -g",
+ release => "-O3"),
+ cxxflags => add("-std=c++11"),
+ lib_cppflags => combine("-DOPENSSL_USE_NODELETE", "-DL_ENDIAN"),
+ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
+ thread_scheme => "pthreads",
+ dso_scheme => "dlfcn",
+ shared_target => "linux-shared",
+ shared_cflag => "-fPIC",
+ shared_ldflag => sub { $disabled{pinshared} ? () : "-Wl,-znodelete" },
+ shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
+ },
+
+ "x86_64-astral" => {
+ inherit_from => [ "astral-generic64", asm("x86_64_asm") ],
+ perlasm_scheme => "elf",
+
+ CC => "x86_64-astral-gcc",
+ CXX => "x86_64-astral-g++",
+
+ },
+
#### VOS Configurations
"vos-gcc" => {
inherit_from => [ "BASE_unix" ],