Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
00b0d663
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
00b0d663
编写于
2月 22, 2016
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Clean away $no_asm since with have $disabled{asm}
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
93e3d3f3
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
7 deletion
+5
-7
Configure
Configure
+5
-7
未找到文件。
Configure
浏览文件 @
00b0d663
...
...
@@ -209,7 +209,6 @@ $config{fipslibdir}="/usr/local/ssl/fips-2.0/lib/";
my
$nofipscanistercheck
=
0
;
$config
{
baseaddr
}
=
"
0xFB00000
";
my
$threads
=
0
;
my
$no_asm
=
0
;
my
$no_dso
=
0
;
my
$default_ranlib
;
$config
{
fips
}
=
0
;
...
...
@@ -809,7 +808,6 @@ foreach (sort (keys %disabled))
print
"
OPENSSL_NO_
$ALGO
";
if
(
/^err$/
)
{
push
@user_defines
,
"
OPENSSL_NO_ERR
";
}
elsif
(
/^asm$/
)
{
$no_asm
=
1
;
}
}
else
{
...
...
@@ -916,7 +914,7 @@ if ($target =~ /^mingw/ && `$target{cc} --target-help 2>&1` =~ m/-mno-cygwin/m)
$target
{
shared_ldflag
}
.=
"
-mno-cygwin
";
}
if
(
$target
=~
/linux.*-mips/
&&
!
$
no_asm
&&
$user_cflags
!~
/-m(ips|arch=)/
)
{
if
(
$target
=~
/linux.*-mips/
&&
!
$
disabled
{
asm
}
&&
$user_cflags
!~
/-m(ips|arch=)/
)
{
# minimally required architecture flags for assembly modules
$config
{
cflags
}
=
"
-mips2
$config
{cflags}
"
if
(
$target
=~
/mips32/
);
$config
{
cflags
}
=
"
-mips3
$config
{cflags}
"
if
(
$target
=~
/mips64/
);
...
...
@@ -979,7 +977,7 @@ else
$config
{
ex_libs
}
=
"
$libs$config
{ex_libs}
"
if
(
$libs
ne
"");
if
(
$
no_asm
)
if
(
$
disabled
{
asm
}
)
{
@
{
$config
{
defines
}}
=
grep
!
/^[BL]_ENDIAN$/
,
@
{
$config
{
defines
}}
if
(
$config
{
fips
});
...
...
@@ -1056,7 +1054,7 @@ if ($target{ranlib} eq "")
$target
{
ranlib
}
=
$default_ranlib
;
}
if
(
!
$no_asm
)
{
unless
(
$disabled
{
asm
}
)
{
$target
{
cpuid_asm_src
}
=
$table
{
BASE
}
->
{
cpuid_asm_src
}
if
(
$config
{
processor
}
eq
"
386
");
$target
{
bn_asm_src
}
=~
s/\w+-gf2m.c//
if
(
defined
(
$disabled
{
ec2m
}));
...
...
@@ -1931,14 +1929,14 @@ exit(0);
# Configuration file reading #########################################
# Helper function to implement conditional inheritance depending on the
# value of $
no_asm
. Used in inherit_from values as follows:
# value of $
disabled{asm}
. Used in inherit_from values as follows:
#
# inherit_from => [ "template", asm("asm_tmpl") ]
#
sub
asm
{
my
@x
=
@_
;
sub
{
$
no_asm
?
()
:
@x
;
$
disabled
{
asm
}
?
()
:
@x
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录