diff options
author | Jérôme Duval <jerome.duval@gmail.com> | 2016-02-23 22:49:01 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-04-14 13:49:42 -0400 |
commit | 6e08e9e7ccf00aba847351adc3b46b9dae1f114d (patch) | |
tree | 8bfd0b8a2187ca1683164229bd475047b8b4a99f /Configurations/10-main.conf | |
parent | f2ead992c945f13b59058fb3ce56c0227478ec30 (diff) | |
download | openssl-6e08e9e7ccf00aba847351adc3b46b9dae1f114d.tar.gz |
Add Haiku support.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations/10-main.conf')
-rw-r--r-- | Configurations/10-main.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 5bf8a0df70..69087d9ac5 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1741,6 +1741,35 @@ sub vms_info { shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ranlib => "$ENV{'RANLIB'}", }, + "haiku-common" => { + template => 1, + cc => "cc", + cflags => add_before(picker(default => "-DL_ENDIAN -Wall", + debug => "-g -O0", + release => "-O2"), + threads("-D_REENTRANT")), + sys_id => "HAIKU", + lflags => "-lnetwork", + perlasm_scheme => "elf", + thread_scheme => "pthreads", + dso_scheme => "dlfcn", + shared_target => "haiku-shared", + shared_cflag => "-fPIC", + shared_ldflag => "-shared", + shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + }, + "haiku-x86" => { + inherit_from => [ "haiku-common", asm("x86_elf_asm") ], + cflags => add(picker(default => "", + release => "-fomit-frame-pointer")), + bn_ops => "BN_LLONG", + }, + "haiku-x86_64" => { + inherit_from => [ "haiku-common", asm("x86_64_asm") ], + cflags => add("-m64"), + bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR", + }, + ##### VMS "vms-generic" => { |