提交 f9527167 编写于 作者: A Andy Polyakov

config: don't add -Wa options with no-asm.

上级 dd83d0f4
......@@ -841,6 +841,7 @@ esac
# options="$options -DATALLA"
#fi
! expr "$options" : '.*no\-asm' > /dev/null && \
($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 2>&1 | \
grep \\--noexecstack) 2>&1 > /dev/null && \
options="$options -Wa,--noexecstack"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册