mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
53 lines
1.6 KiB
Diff
53 lines
1.6 KiB
Diff
diff --git openssl-clean/Configurations/10-main.conf openssl-workdir/Configurations/10-main.conf
|
|
index 2fcb96a..02517f4 100644
|
|
--- openssl-clean/Configurations/10-main.conf
|
|
+++ openssl-workdir/Configurations/10-main.conf
|
|
@@ -187,6 +187,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" ],
|
|
diff --git openssl-clean/test/v3ext.c openssl-workdir/test/v3ext.c
|
|
index 386135f..5f79492 100644
|
|
--- openssl-clean/test/v3ext.c
|
|
+++ openssl-workdir/test/v3ext.c
|
|
@@ -13,6 +13,7 @@
|
|
#include <openssl/pem.h>
|
|
#include <openssl/err.h>
|
|
#include "internal/nelem.h"
|
|
+#include <string.h>
|
|
|
|
#include "testutil.h"
|
|
|