Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
f6739c3d
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
接近 2 年 前同步成功
通知
12
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f6739c3d
编写于
11月 23, 2015
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Configuratons: add -DFILIO_H to harmonized Solaris targets.
Triggered by RT#4144. Reviewed-by:
N
Kurt Roeckx
<
kurt@openssl.org
>
上级
da950fd3
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
27 addition
and
39 deletion
+27
-39
Configurations/10-main.conf
Configurations/10-main.conf
+26
-38
e_os.h
e_os.h
+1
-1
未找到文件。
Configurations/10-main.conf
浏览文件 @
f6739c3d
...
...
@@ -35,6 +35,15 @@
shared_extension
=>
".so"
,
},
#### Solaros configirations
"solaris-common"
=> {
template
=>
1
,
cflags
=>
"-DFILIO_H"
,
lflags
=>
"-lsocket -lnsl -ldl"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
},
#### Solaris x86 with GNU C setups
"solaris-x86-gcc"
=> {
# -DOPENSSL_NO_INLINE_ASM switches off inline assembler. We have
...
...
@@ -42,19 +51,15 @@
# template it surrounds it with #APP #NO_APP comment pair which
# (at least Solaris 7_x86) /usr/ccs/bin/as fails to assemble
# with "Illegal mnemonic" error message.
inherit_from
=> [
asm
(
"x86_elf_asm"
) ],
inherit_from
=> [
"solaris-common"
,
asm
(
"x86_elf_asm"
) ],
cc
=>
"gcc"
,
cflags
=>
"-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM"
,
cflags
=>
sub
{
join
(
" "
,
"-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM"
,@
_
) }
,
debug_cflags
=>
"-O0 -g"
,
release_cflags
=>
"-O3 -fomit-frame-pointer"
,
thread_cflag
=>
"-pthread"
,
lflags
=>
"-lsocket -lnsl -ldl"
,
bn_ops
=>
"BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_cflag
=>
"-fPIC"
,
shared_ldflag
=>
"-shared"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
},
"solaris64-x86_64-gcc"
=> {
# -shared -static-libgcc might appear controversial, but modules
...
...
@@ -65,70 +70,58 @@
# code [thanks to inline assembler], I would actually recommend
# to consider using gcc shared build even with vendor compiler:-)
# <appro@fy.chalmers.se>
inherit_from
=> [
asm
(
"x86_64_asm"
) ],
inherit_from
=> [
"solaris-common"
,
asm
(
"x86_64_asm"
) ],
cc
=>
"gcc"
,
cflags
=>
"-m64 -Wall -DL_ENDIAN"
,
cflags
=>
sub
{
join
(
" "
,
"-m64 -Wall -DL_ENDIAN"
,@
_
) }
,
debug_cflags
=>
"-O0 -g"
,
release_cflags
=>
"-O3"
,
thread_cflag
=>
"-pthread"
,
lflags
=>
"-lsocket -lnsl -ldl"
,
bn_ops
=>
"SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL"
,
perlasm_scheme
=>
"elf"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_cflag
=>
"-fPIC"
,
shared_ldflag
=>
"-m64 -shared -static-libgcc"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
multilib
=>
"/64"
,
},
#### Solaris x86 with Sun C setups
"solaris-x86-cc"
=> {
inherit_from
=> [
"solaris-common"
],
cc
=>
"cc"
,
cflags
=>
"-xarch=generic -xstrconst -Xa -DL_ENDIAN"
,
cflags
=>
sub
{
join
(
" "
,
"-xarch=generic -xstrconst -Xa -DL_ENDIAN"
,@
_
) }
,
debug_cflags
=>
"-g"
,
release_cflags
=>
"-xO5 -xregs=frameptr -xdepend -xbuiltin"
,
thread_cflag
=>
"-D_REENTRANT"
,
lflags
=>
"-lsocket -lnsl -ldl -mt -lpthread"
,
lflags
=>
sub
{
join
(
" "
,@
_
,
"-mt -lpthread"
) }
,
bn_ops
=>
"BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_cflag
=>
"-KPIC"
,
shared_ldflag
=>
"-G -dy -z text"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
},
"solaris64-x86_64-cc"
=> {
inherit_from
=> [
asm
(
"x86_64_asm"
) ],
inherit_from
=> [
"solaris-common"
,
asm
(
"x86_64_asm"
) ],
cc
=>
"cc"
,
cflags
=>
"-xarch=generic64 -xstrconst -Xa -DL_ENDIAN"
,
cflags
=>
sub
{
join
(
" "
,
"-xarch=generic64 -xstrconst -Xa -DL_ENDIAN"
,@
_
) }
,
debug_cflags
=>
"-g"
,
release_cflags
=>
"-xO5 -xdepend -xbuiltin"
,
thread_cflag
=>
"-D_REENTRANT"
,
lflags
=>
"-lsocket -lnsl -ldl -mt -lpthread"
,
lflags
=>
sub
{
join
(
" "
,@
_
,
"-mt -lpthread"
) }
,
bn_ops
=>
"SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL"
,
perlasm_scheme
=>
"elf"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_cflag
=>
"-KPIC"
,
shared_ldflag
=>
"-xarch=generic64 -G -dy -z text"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
multilib
=>
"/64"
,
},
#### SPARC Solaris with GNU C setups
"solaris-sparcv7-gcc"
=> {
inherit_from
=> [
"solaris-common"
],
cc
=>
"gcc"
,
cflags
=>
"-Wall -DB_ENDIAN -DBN_DIV2W"
,
cflags
=>
sub
{
join
(
" "
,
"-Wall -DB_ENDIAN -DBN_DIV2W"
,@
_
) }
,
debug_cflags
=>
"-O0 -g"
,
release_cflags
=>
"-O3"
,
thread_cflag
=>
"-pthread"
,
lflags
=>
"-lsocket -lnsl -ldl"
,
bn_ops
=>
"BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_cflag
=>
"-fPIC"
,
shared_ldflag
=>
"-shared"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
},
"solaris-sparcv8-gcc"
=> {
inherit_from
=> [
"solaris-sparcv7-gcc"
,
asm
(
"sparcv8_asm"
) ],
...
...
@@ -136,17 +129,14 @@
},
"solaris-sparcv9-gcc"
=> {
# -m32 should be safe to add as long as driver recognizes
# -mcpu=ultrasparc
# -mcpu=ultrasparc
inherit_from
=> [
"solaris-sparcv7-gcc"
,
asm
(
"sparcv9_asm"
) ],
cc
=>
"gcc"
,
cflags
=>
sub
{
join
(
" "
,
"-m32 -mcpu=ultrasparc"
,@
_
); },
debug_cflags
=>
"-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -DPEDANTIC -O -g -pedantic -ansi -Wshadow -Wno-long-long -D__EXTENSIONS__"
,
release_cflags
=>
"-O3"
,
},
"solaris64-sparcv9-gcc"
=> {
inherit_from
=> [
"solaris-sparcv9-gcc"
],
cc
=>
"gcc"
,
cflags
=>
"-m64 -mcpu=ultrasparc -Wall -DB_ENDIAN"
,
cflags
=>
sub
{
my
$
f
=
join
(
" "
,@
_
); $
f
=~
s
/\-
m32
/-
m64
/; $
f
; },
bn_ops
=>
"BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR"
,
shared_ldflag
=>
"-m64 -shared"
,
multilib
=>
"/64"
,
...
...
@@ -157,18 +147,16 @@
# SC4.2 is ok, better than gcc even on bn as long as you tell it -xarch=v8
# SC5.0 note: Compiler common patch 107357-01 or later is required!
"solaris-sparcv7-cc"
=> {
inherit_from
=> [
"solaris-common"
],
cc
=>
"cc"
,
cflags
=>
"-xstrconst -Xa -DB_ENDIAN -DBN_DIV2W"
,
cflags
=>
sub
{
join
(
" "
,
"-xstrconst -Xa -DB_ENDIAN -DBN_DIV2W"
,@
_
) }
,
debug_cflags
=>
"-g -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL"
,
release_cflags
=>
"-xO5 -xdepend"
,
thread_cflag
=>
"-D_REENTRANT"
,
lflags
=>
"-lsocket -lnsl -ldl -mt -lpthread"
,
lflags
=>
sub
{
join
(
" "
,@
_
,
"-mt -lpthread"
) }
,
bn_ops
=>
"BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR"
,
dso_scheme
=>
"dlfcn"
,
shared_target
=>
"solaris-shared"
,
shared_cflag
=>
"-KPIC"
,
shared_ldflag
=>
"-G -dy -z text"
,
shared_extension
=>
".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)"
,
},
####
"solaris-sparcv8-cc"
=> {
...
...
e_os.h
浏览文件 @
f6739c3d
...
...
@@ -539,7 +539,7 @@ struct servent *PASCAL getservbyname(const char *, const char *);
# endif
# endif
# ifdef FILIO_H
# include <sys/filio.h>
/* Added for FIONBIO under unixware
*/
# include <sys/filio.h>
/* FIONBIO in some SVR4, e.g. unixware, solaris
*/
# endif
# include <netinet/in.h>
# include <arpa/inet.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录