diff options
author | Andy Polyakov <appro@openssl.org> | 2016-05-01 14:33:19 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-05-19 22:39:52 +0200 |
commit | 6c4be50a5d775866e79b2f58fafb23a862bd38b2 (patch) | |
tree | c8c3c2d6bce8a4d954942883ecae788f45afa1d4 /Configurations/50-haiku.conf | |
parent | e33826f01bd78af76e0135c8dfab3387927a82bb (diff) | |
download | openssl-6c4be50a5d775866e79b2f58fafb23a862bd38b2.tar.gz |
Move Haiku configuration to separate config file to denote
the fact that it's community-supported target.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations/50-haiku.conf')
-rw-r--r-- | Configurations/50-haiku.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Configurations/50-haiku.conf b/Configurations/50-haiku.conf new file mode 100644 index 0000000000..f114666609 --- /dev/null +++ b/Configurations/50-haiku.conf @@ -0,0 +1,29 @@ +%targets = ( + "haiku-common" => { + template => 1, + cc => "cc", + cflags => add_before(picker(default => "-DL_ENDIAN -Wall -include \$(SRCDIR)/os-dep/haiku.h", + debug => "-g -O0", + release => "-O2"), + threads("-D_REENTRANT")), + sys_id => "HAIKU", + ex_libs => "-lnetwork", + perlasm_scheme => "elf", + thread_scheme => "pthreads", + dso_scheme => "dlfcn", + shared_target => "gnu-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(release => "-fomit-frame-pointer")), + bn_ops => "BN_LLONG", + }, + "haiku-x86_64" => { + inherit_from => [ "haiku-common" ], + cflags => add("-m64"), + bn_ops => "SIXTY_FOUR_BIT_LONG", + }, +); |