未验证 提交 bc7d903c 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3558 from BernardXiong/fix_gcc_version_issue

[tools] fix c99/siginfo_t issue caused by gcc_version
......@@ -273,7 +273,7 @@ def VersionCmp(ver1, ver2):
def GCCC99Patch(cflags):
import building
gcc_version = building.GetDepend('GCC_VERSION')
gcc_version = building.GetDepend('GCC_VERSION_STR')
if gcc_version:
gcc_version = gcc_version.replace('"', '')
if VersionCmp(gcc_version, "4.8.0") == 1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册