提交 b7aa63c4 编写于 作者: G guzhihao4

Fix math functions optimization

Replace fast-math with fp-contract=fast

Issue:#I66OIA
Signed-off-by: Nguzhihao4 <guzhihao4@huawei.com>
Change-Id: I97f546b03ace00bcdac9932676a5c31a8e642d5c
上级 1d12e1d6
...@@ -601,7 +601,7 @@ template("musl_libs") { ...@@ -601,7 +601,7 @@ template("musl_libs") {
cflags = [ cflags = [
"-mllvm", "-mllvm",
"-instcombine-max-iterations=0", "-instcombine-max-iterations=0",
"-ffast-math", "-ffp-contract=fast",
"-O3", "-O3",
"-fPIC", "-fPIC",
"-fstack-protector-strong", "-fstack-protector-strong",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册